Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Oct 2013 00:15:34 +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: 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
Message-ID:  <201310080015.r980FYKC093123@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310080015.r980FYKC093123>