svn commit: r345112 - head/games/ggz-sdl-games

John Marino marino at FreeBSD.org
Wed Feb 19 16:33:46 UTC 2014


Author: marino
Date: Wed Feb 19 16:33:46 2014
New Revision: 345112
URL: http://svnweb.freebsd.org/changeset/ports/345112
QAT: https://qat.redports.org/buildarchive/r345112/

Log:
  games/ggz-sdl-games: Fix for modern binutils
  
  Needs explicit linking to libexpat and libggzcore.

Modified:
  head/games/ggz-sdl-games/Makefile

Modified: head/games/ggz-sdl-games/Makefile
==============================================================================
--- head/games/ggz-sdl-games/Makefile	Wed Feb 19 16:31:03 2014	(r345111)
+++ head/games/ggz-sdl-games/Makefile	Wed Feb 19 16:33:46 2014	(r345112)
@@ -18,7 +18,13 @@ USE_GGZ=	client
 INSTALL_TARGET=	install-strip
 
 CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib -pthread
+LDFLAGS+=	-L${LOCALBASE}/lib -pthread -lexpat
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|_LDADD =|_LDADD = -lggzcore -lggz|' \
+		${WRKSRC}/ttt3d/Makefile.in
+	@${REINPLACE_CMD} -e 's|_LDADD =|_LDADD = -lggzcore|' \
+		${WRKSRC}/geekgame/Makefile.in
 
 post-install:
 	${INSTALL_DATA} ${WRKSRC}/geekgame/module.dsc ${STAGEDIR}/${PREFIX}/share/ggz/geekgame.dsc


More information about the svn-ports-all mailing list