From owner-svn-ports-head@FreeBSD.ORG Mon Oct 7 23:40:25 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id EB7481B2; Mon, 7 Oct 2013 23:40:25 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CA2382E1D; Mon, 7 Oct 2013 23:40:25 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r97NePKH067480; Mon, 7 Oct 2013 23:40:25 GMT (envelope-from marino@svn.freebsd.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r97NeNgE067459; Mon, 7 Oct 2013 23:40:23 GMT (envelope-from marino@svn.freebsd.org) Message-Id: <201310072340.r97NeNgE067459@svn.freebsd.org> From: John Marino Date: Mon, 7 Oct 2013 23:40:23 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Oct 2013 23:40:26 -0000 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 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 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