Date: Mon, 7 Oct 2013 23:03:13 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r329743 - in head: audio/tagtool audio/xmixer databases/gtksql editors/gmanedit games/apoolGL games/bygfoot games/gnomeattacks games/gnomebreakout games/newvox games/senken Message-ID: <201310072303.r97N3DJs038785@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Mon Oct 7 23:03:12 2013 New Revision: 329743 URL: http://svnweb.freebsd.org/changeset/ports/329743 Log: Explicitly link libraries on 10 unmaintained ports The following ports will not build with a binutils 2.22+ linker built with standard options. This has been obvious with DPorts, but difficult to see on FreeBSD. However, setting the ports compiler as a recent gcc (e.g lang/gcc48) is an excellent way to detect the unspecified but needed libraries as these recent GCC compilers use the latest binutils linkers. These patches were tested on FreeBSD 8.4 and DragonFly 3.5 Modified: head/audio/tagtool/Makefile head/audio/xmixer/Makefile head/databases/gtksql/Makefile head/editors/gmanedit/Makefile head/games/apoolGL/Makefile head/games/bygfoot/Makefile head/games/gnomeattacks/Makefile head/games/gnomebreakout/Makefile head/games/newvox/Makefile head/games/senken/Makefile Modified: head/audio/tagtool/Makefile ============================================================================== --- head/audio/tagtool/Makefile Mon Oct 7 22:07:08 2013 (r329742) +++ head/audio/tagtool/Makefile Mon Oct 7 23:03:12 2013 (r329743) @@ -22,7 +22,7 @@ GNU_CONFIGURE= yes INSTALLS_ICONS= yes CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} -LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -logg +LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -logg -lm post-patch: @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ Modified: head/audio/xmixer/Makefile ============================================================================== --- head/audio/xmixer/Makefile Mon Oct 7 22:07:08 2013 (r329742) +++ head/audio/xmixer/Makefile Mon Oct 7 23:03:12 2013 (r329743) @@ -30,6 +30,7 @@ PLIST_FILES+= bin/xgmixer .else USE_XORG= x11 xt ice xaw PROGRAMS= xmixer +LDFLAGS+= -L${LOCALBASE}/lib -lX11 .endif post-patch: Modified: head/databases/gtksql/Makefile ============================================================================== --- head/databases/gtksql/Makefile Mon Oct 7 22:07:08 2013 (r329742) +++ head/databases/gtksql/Makefile Mon Oct 7 23:03:12 2013 (r329743) @@ -15,9 +15,9 @@ LIB_DEPENDS= avahi-client:${PORTSDIR}/ne GNU_CONFIGURE= yes USE_AUTOTOOLS= libtool -USES= pkgconfig -USE_GMAKE= yes +USES= pkgconfig gmake USE_GNOME= gtk20 +LDFLAGS+= -L${LOCALBASE}/lib -lgmodule-2.0 MAN1= ${PORTNAME}.1 PORTDOCS= AUTHORS ChangeLog NEWS README TODO Modified: head/editors/gmanedit/Makefile ============================================================================== --- head/editors/gmanedit/Makefile Mon Oct 7 22:07:08 2013 (r329742) +++ head/editors/gmanedit/Makefile Mon Oct 7 23:03:12 2013 (r329743) @@ -14,7 +14,7 @@ USES= pathfix gettext gmake pkgco USE_GNOME= gtk20 GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib +LDFLAGS+= -L${LOCALBASE}/lib -lz MAN1= gmanedit.1 Modified: head/games/apoolGL/Makefile ============================================================================== --- head/games/apoolGL/Makefile Mon Oct 7 22:07:08 2013 (r329742) +++ head/games/apoolGL/Makefile Mon Oct 7 23:03:12 2013 (r329743) @@ -13,6 +13,7 @@ COMMENT= Another billiards simulator USE_SDL= sdl USE_GL= gl +LDFLAGS+= -lm PORTDOCS= ApoolGL.txt CHANGELOG OpenGL-Features Modified: head/games/bygfoot/Makefile ============================================================================== --- head/games/bygfoot/Makefile Mon Oct 7 22:07:08 2013 (r329742) +++ head/games/bygfoot/Makefile Mon Oct 7 23:03:12 2013 (r329743) @@ -20,7 +20,7 @@ GNU_CONFIGURE= yes USE_BZIP2= yes USE_GNOME= gtk20 CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} +LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lm NO_STAGE= yes .include <bsd.port.mk> Modified: head/games/gnomeattacks/Makefile ============================================================================== --- head/games/gnomeattacks/Makefile Mon Oct 7 22:07:08 2013 (r329742) +++ head/games/gnomeattacks/Makefile Mon Oct 7 23:03:12 2013 (r329743) @@ -11,10 +11,11 @@ MAINTAINER= ports@FreeBSD.org COMMENT= GNOME 2 game featuring a bizarre flying GNOME logo GNU_CONFIGURE= yes -USES= pathfix gmake pkgconfig +USES= pathfix gmake pkgconfig USE_GNOME= gnomeprefix gnomevfs2 libgnomeui CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib" CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -lm NO_STAGE= yes .include <bsd.port.mk> Modified: head/games/gnomebreakout/Makefile ============================================================================== --- head/games/gnomebreakout/Makefile Mon Oct 7 22:07:08 2013 (r329742) +++ head/games/gnomebreakout/Makefile Mon Oct 7 23:03:12 2013 (r329743) @@ -11,11 +11,11 @@ DISTNAME= gnome-breakout-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= GNOME version of the classic breakout game -USES= pathfix pkgconfig +USES= pathfix pkgconfig USE_GNOME= gnomeprefix libgnomeui GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib +LDFLAGS+= -L${LOCALBASE}/lib -lm NO_STAGE= yes post-patch: Modified: head/games/newvox/Makefile ============================================================================== --- head/games/newvox/Makefile Mon Oct 7 22:07:08 2013 (r329742) +++ head/games/newvox/Makefile Mon Oct 7 23:03:12 2013 (r329743) @@ -12,6 +12,7 @@ COMMENT= Voxel-style landscape rendering USE_SDL= sdl GNU_CONFIGURE= yes +LDFLAGS+= -lm NO_STAGE= yes do-install: Modified: head/games/senken/Makefile ============================================================================== --- head/games/senken/Makefile Mon Oct 7 22:07:08 2013 (r329742) +++ head/games/senken/Makefile Mon Oct 7 23:03:12 2013 (r329743) @@ -9,12 +9,13 @@ MASTER_SITES= ${MASTER_SITE_GENTOO} MASTER_SITE_SUBDIR= distfiles MAINTAINER= ports@FreeBSD.org -COMMENT= A city simulation game +COMMENT= City simulation game USES= pkgconfig USE_GNOME= gtk20 USE_SDL= image sdl GNU_CONFIGURE= yes +LDFLAGS+= -lm NO_STAGE= yes post-patch:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310072303.r97N3DJs038785>