Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Feb 2014 15:22:17 +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: r345102 - head/games/ggz-client-libs
Message-ID:  <201402191522.s1JFMHZP093925@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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