From owner-svn-ports-head@FreeBSD.ORG Tue Oct 8 00:15:37 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 255892DA; Tue, 8 Oct 2013 00:15:37 +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 02AB72068; Tue, 8 Oct 2013 00:15:37 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r980FaoY093148; Tue, 8 Oct 2013 00:15:36 GMT (envelope-from marino@svn.freebsd.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r980FYKC093123; Tue, 8 Oct 2013 00:15:34 GMT (envelope-from marino@svn.freebsd.org) Message-Id: <201310080015.r980FYKC093123@svn.freebsd.org> From: John Marino Date: Tue, 8 Oct 2013 00:15:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r329750 - in head: games/battalion games/deng games/heroes games/uhexen sysutils/wmfire textproc/dixit x11-fm/tdfsb x11-wm/pawm x11/gromit x11/xsel 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: Tue, 08 Oct 2013 00:15:37 -0000 Author: marino Date: Tue Oct 8 00:15:34 2013 New Revision: 329750 URL: http://svnweb.freebsd.org/changeset/ports/329750 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/battalion/Makefile head/games/deng/Makefile head/games/heroes/Makefile head/games/uhexen/Makefile head/sysutils/wmfire/Makefile head/textproc/dixit/Makefile head/x11-fm/tdfsb/Makefile head/x11-wm/pawm/Makefile head/x11/gromit/Makefile head/x11/xsel/Makefile Modified: head/games/battalion/Makefile ============================================================================== --- head/games/battalion/Makefile Tue Oct 8 00:03:16 2013 (r329749) +++ head/games/battalion/Makefile Tue Oct 8 00:15:34 2013 (r329750) @@ -18,7 +18,7 @@ MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" CFLAGS+= -I${LOCALBASE}/include/X11 -I${LOCALBASE}/include \ -DLINUXVERSION -DLINUXAUDIO -LDFLAGS= -L${LOCALBASE}/lib +LDFLAGS= -L${LOCALBASE}/lib -lX11 -lm MAN6= battalion.6 Modified: head/games/deng/Makefile ============================================================================== --- head/games/deng/Makefile Tue Oct 8 00:03:16 2013 (r329749) +++ head/games/deng/Makefile Tue Oct 8 00:15:34 2013 (r329750) @@ -25,6 +25,7 @@ USES= cmake:outsource CMAKE_SOURCE_PATH= ${WRKSRC}/doomsday CFLAGS+= -I${LOCALBASE}/include/libpng15 CMAKE_ARGS+= -DCMAKE_EXE_LINKER_FLAGS:STRING="-Wl,--export-dynamic" +LDFLAGS+= -lm MAN6= doomsday.6 Modified: head/games/heroes/Makefile ============================================================================== --- head/games/heroes/Makefile Tue Oct 8 00:03:16 2013 (r329749) +++ head/games/heroes/Makefile Tue Oct 8 00:15:34 2013 (r329750) @@ -47,7 +47,7 @@ MAN6= heroes.6 heroeslvl.6 INFO= heroes CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} -LDFLAGS+= -L${LOCALBASE}/lib -lsmpeg ${PTHREAD_LIBS} +LDFLAGS+= -L${LOCALBASE}/lib -lsmpeg -lm ${PTHREAD_LIBS} NO_STAGE= yes pre-everything:: Modified: head/games/uhexen/Makefile ============================================================================== --- head/games/uhexen/Makefile Tue Oct 8 00:03:16 2013 (r329749) +++ head/games/uhexen/Makefile Tue Oct 8 00:15:34 2013 (r329750) @@ -12,6 +12,7 @@ COMMENT= Yet another port of Hexen, popu USE_GMAKE= yes USE_SDL= mixer sdl +MAKE_ENV+= EXTRA_LIBS=-lm OPTIONS_DEFINE= MUSIC OPTIONS_DEFAULT= MUSIC Modified: head/sysutils/wmfire/Makefile ============================================================================== --- head/sysutils/wmfire/Makefile Tue Oct 8 00:03:16 2013 (r329749) +++ head/sysutils/wmfire/Makefile Tue Oct 8 00:15:34 2013 (r329750) @@ -17,7 +17,7 @@ USE_GNOME= gtk20 GNU_CONFIGURE= yes USE_CSTD= gnu89 CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib +LDFLAGS+= -L${LOCALBASE}/lib -lm MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOHEADER="${TRUE}" \ AUTOMAKE="${TRUE}" Modified: head/textproc/dixit/Makefile ============================================================================== --- head/textproc/dixit/Makefile Tue Oct 8 00:03:16 2013 (r329749) +++ head/textproc/dixit/Makefile Tue Oct 8 00:15:34 2013 (r329750) @@ -22,6 +22,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVER USE_QT4= corelib gui network moc_build qmake_build rcc_build HAS_CONFIGURE= yes +QMAKEFLAGS= QMAKE_LFLAGS="-lz" PLIST_SUB= _DB=${_DB} DB_DIR=${DB_DIR} _DB_F=${_DB_F} Modified: head/x11-fm/tdfsb/Makefile ============================================================================== --- head/x11-fm/tdfsb/Makefile Tue Oct 8 00:03:16 2013 (r329749) +++ head/x11-fm/tdfsb/Makefile Tue Oct 8 00:15:34 2013 (r329750) @@ -27,7 +27,7 @@ CPPFLAGS+= `${LOCALBASE}/bin/pkgconf --c -I ${LOCALBASE}/include LDFLAGS+= `${LOCALBASE}/bin/pkgconf --libs SDL_image gl` \ `${LOCALBASE}/bin/smpeg-config --libs` \ - -L ${LOCALBASE}/lib -lGLU -lglut + -L ${LOCALBASE}/lib -lGLU -lglut -lm NO_STAGE= yes .include Modified: head/x11-wm/pawm/Makefile ============================================================================== --- head/x11-wm/pawm/Makefile Tue Oct 8 00:03:16 2013 (r329749) +++ head/x11-wm/pawm/Makefile Tue Oct 8 00:15:34 2013 (r329750) @@ -14,6 +14,7 @@ USE_XORG= x11 xft xrandr xrender xpm USES= cmake pkgconfig CMAKE_ARGS= -DCMAKE_CONFIG_PREFIX:STRING="${PREFIX}/etc" \ -DX11_LIBRARY_DIRS:STRING="${LOCALBASE}/lib" +LDFLAGS+= -L${LOCALBASE}/lib -lXext -lXrender .if defined(WITH_SN) LIB_DEPENDS+= startup-notification-1.0:${PORTSDIR}/x11/startup-notification Modified: head/x11/gromit/Makefile ============================================================================== --- head/x11/gromit/Makefile Tue Oct 8 00:03:16 2013 (r329749) +++ head/x11/gromit/Makefile Tue Oct 8 00:15:34 2013 (r329750) @@ -12,6 +12,7 @@ COMMENT= GRaphics Over Miscellaneous Obj USE_GNOME= gtk20 USES= pkgconfig +CFLAGS+= -lm DOCS= AUTHORS ChangeLog README Modified: head/x11/xsel/Makefile ============================================================================== --- head/x11/xsel/Makefile Tue Oct 8 00:03:16 2013 (r329749) +++ head/x11/xsel/Makefile Tue Oct 8 00:15:34 2013 (r329750) @@ -15,7 +15,7 @@ CONFLICTS= xsel-conrad-[0-9]* USE_BZIP2= yes USE_XORG= xmu xaw xt xproto xkbfile CFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -lXt -lXaw +LDFLAGS+= -L${LOCALBASE}/lib -lXt -lXaw -lX11 -lXmu MAN1= ${PORTNAME}.1 PLIST_FILES= bin/${PORTNAME} PORTDOCS= ${PORTNAME}.html