svn commit: r345102 - head/games/ggz-client-libs

John Marino marino at FreeBSD.org
Wed Feb 19 15:22:17 UTC 2014


Author: marino
Date: Wed Feb 19 15:22:17 2014
New Revision: 345102
URL: http://svnweb.freebsd.org/changeset/ports/345102
QAT: https://qat.redports.org/buildarchive/r345102/

Log:
  games/ggz-client-libs: Unbreak build on modern binutils
  
  Something happened with the libtool change that removed some library
  linkage handling.  Explicitly state libexpat and internal libggzcore
  are required for the build (unbreaks on DragonFly, tested in poudriere).

Modified:
  head/games/ggz-client-libs/Makefile

Modified: head/games/ggz-client-libs/Makefile
==============================================================================
--- head/games/ggz-client-libs/Makefile	Wed Feb 19 15:22:02 2014	(r345101)
+++ head/games/ggz-client-libs/Makefile	Wed Feb 19 15:22:17 2014	(r345102)
@@ -20,7 +20,7 @@ USE_GGZ=	core
 INSTALL_TARGET=	install-strip
 
 CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib -pthread
+LDFLAGS+=	-L${LOCALBASE}/lib -pthread -lexpat
 
 OPTIONS_DEFINE=	NLS
 OPTIONS_SUB=	yes
@@ -30,7 +30,11 @@ NLS_CONFIGURE_ARGS=	--disable-nls
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|libggz.la|libggz.so|g' ${WRKSRC}/configure
-	@${REINPLACE_CMD} -e 's|#!/bin/bash|#!/bin/sh|' ${WRKSRC}/ggz-wrapper/ggz
+	@${REINPLACE_CMD} -e 's|#!/bin/bash|#!/bin/sh|' \
+		${WRKSRC}/ggz-wrapper/ggz
+	@${REINPLACE_CMD} -e \
+		's|@LIB_GGZ@|@LIB_GGZ@ ../ggzcore/.libs/libggzcore.so|' \
+		${WRKSRC}/ggzwrap/Makefile.in
 
 .include "${.CURDIR}/../libggz/bsd.ggz.mk"
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list