Date: Mon, 7 Oct 2013 23:40:23 +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: r329747 - in head: games/stepmania-devel games/xteddy graphics/fv graphics/kludge3d graphics/pornview japanese/kanjipad lang/lafontaine science/gdis shells/viewglob sysutils/ldapenter Message-ID: <201310072340.r97NeNgE067459@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Mon Oct 7 23:40:23 2013 New Revision: 329747 URL: http://svnweb.freebsd.org/changeset/ports/329747 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/games/stepmania-devel/Makefile head/games/xteddy/Makefile head/graphics/fv/Makefile head/graphics/kludge3d/Makefile head/graphics/pornview/Makefile head/japanese/kanjipad/Makefile head/lang/lafontaine/Makefile head/science/gdis/Makefile head/shells/viewglob/Makefile head/sysutils/ldapenter/Makefile Modified: head/games/stepmania-devel/Makefile ============================================================================== --- head/games/stepmania-devel/Makefile Mon Oct 7 23:19:49 2013 (r329746) +++ head/games/stepmania-devel/Makefile Mon Oct 7 23:40:23 2013 (r329747) @@ -38,7 +38,7 @@ SHEBANG_FILES= Utils/*.pl \ extern/zlib/zlib2ansi CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib +LDFLAGS+= -L${LOCALBASE}/lib -lX11 -lpthread NO_STAGE= yes .include <bsd.port.options.mk> Modified: head/games/xteddy/Makefile ============================================================================== --- head/games/xteddy/Makefile Mon Oct 7 23:19:49 2013 (r329746) +++ head/games/xteddy/Makefile Mon Oct 7 23:40:23 2013 (r329747) @@ -16,7 +16,7 @@ USE_EFL= imlib2 GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib +LDFLAGS+= -L${LOCALBASE}/lib lXext MAN6= xteddy.6 PLIST_FILES= bin/xteddy bin/xteddy_test bin/xtoys \ Modified: head/graphics/fv/Makefile ============================================================================== --- head/graphics/fv/Makefile Mon Oct 7 23:19:49 2013 (r329746) +++ head/graphics/fv/Makefile Mon Oct 7 23:40:23 2013 (r329747) @@ -24,7 +24,7 @@ ALL_TARGET= ${PORTNAME} CXXFLAGS+= $$(pkg-config --cflags libpng15) \ -I${LOCALBASE}/include ${PTHREAD_CFLAGS} LDFLAGS+= $$(pkg-config --libs libpng15) \ - -L${LOCALBASE}/lib -lglut -lGLU -lGL -lbz2 -lm ${PTHREAD_LIBS} + -L${LOCALBASE}/lib -lglut -lGLU -lGL -lbz2 -lm -lz ${PTHREAD_LIBS} PORTDOCS= AUTHORS ChangeLog README PLIST_FILES= bin/${PORTNAME} Modified: head/graphics/kludge3d/Makefile ============================================================================== --- head/graphics/kludge3d/Makefile Mon Oct 7 23:19:49 2013 (r329746) +++ head/graphics/kludge3d/Makefile Mon Oct 7 23:40:23 2013 (r329747) @@ -25,7 +25,7 @@ PLIST_FILES= bin/kludge3d CPPFLAGS+= -I${LOCALBASE}/include \ -I${PYTHON_INCLUDEDIR} ${PTHREAD_CFLAGS} LDFLAGS+= -L${LOCALBASE}/lib \ - -L${PYTHON_LIBDIR}/config ${PTHREAD_LIBS} + -L${PYTHON_LIBDIR}/config -lm ${PTHREAD_LIBS} NO_STAGE= yes post-patch: Modified: head/graphics/pornview/Makefile ============================================================================== --- head/graphics/pornview/Makefile Mon Oct 7 23:19:49 2013 (r329746) +++ head/graphics/pornview/Makefile Mon Oct 7 23:40:23 2013 (r329747) @@ -21,7 +21,7 @@ USE_GNOME= gtk20 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-gtk2 CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib +LDFLAGS+= -L${LOCALBASE}/lib -lm OPTIONS_DEFINE= LIBXINE MPLAYER NLS OPTIONS_DEFAULT= LIBXINE Modified: head/japanese/kanjipad/Makefile ============================================================================== --- head/japanese/kanjipad/Makefile Mon Oct 7 23:19:49 2013 (r329746) +++ head/japanese/kanjipad/Makefile Mon Oct 7 23:40:23 2013 (r329747) @@ -14,6 +14,7 @@ USES= perl5 gmake pkgconfig USE_GNOME= gtk20 MAKE_ARGS= OPTIMIZE="${CFLAGS}" PREFIX="${PREFIX}" \ GTKINC="`pkg-config --cflags gtk+-2.0`" +LDFLAGS+= -lm PORTDOCS= README PLIST_FILES= bin/kanjipad bin/kpengine %%DATADIR%%/jdata.dat Modified: head/lang/lafontaine/Makefile ============================================================================== --- head/lang/lafontaine/Makefile Mon Oct 7 23:19:49 2013 (r329746) +++ head/lang/lafontaine/Makefile Mon Oct 7 23:40:23 2013 (r329747) @@ -17,6 +17,7 @@ USES= pathfix gmake pkgconfig USE_GNOME= gtk20 GNU_CONFIGURE= yes USE_CSTD= gnu89 +LDFLAGS+= -lm NO_STAGE= yes .include <bsd.port.options.mk> Modified: head/science/gdis/Makefile ============================================================================== --- head/science/gdis/Makefile Mon Oct 7 23:19:49 2013 (r329746) +++ head/science/gdis/Makefile Mon Oct 7 23:40:23 2013 (r329747) @@ -19,6 +19,7 @@ USE_GL= glu USE_GNOME= gtk20 USES= gmake pkgconfig MAKEFILE= GNUmakefile +LDFLAGS+= -lm PORTDOCS= CHANGELOG README TODO PLIST_FILES= bin/gdis %%DATADIR%%/gdis.elements %%DATADIR%%/gdis.library \ Modified: head/shells/viewglob/Makefile ============================================================================== --- head/shells/viewglob/Makefile Mon Oct 7 23:19:49 2013 (r329746) +++ head/shells/viewglob/Makefile Mon Oct 7 23:40:23 2013 (r329747) @@ -17,6 +17,7 @@ USES= pkgconfig USE_XORG= x11 USE_GNOME= gtk20 GNU_CONFIGURE= yes +LDFLAGS+= -lm MAN1= vgd.1 vgseer.1 viewglob.1 Modified: head/sysutils/ldapenter/Makefile ============================================================================== --- head/sysutils/ldapenter/Makefile Mon Oct 7 23:19:49 2013 (r329746) +++ head/sysutils/ldapenter/Makefile Mon Oct 7 23:40:23 2013 (r329747) @@ -14,6 +14,7 @@ LICENSE= BSD MAKEFILE= BSDmakefile USE_BZIP2= yes USE_OPENLDAP= 24 +LDFLAGS+= -L${LOCALBASE}/lib -llber-2.4 MANCOMPRESSED= yes MAN1= ldapform.1 ldapedit.1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310072340.r97NeNgE067459>