1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

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).
This commit is contained in:
John Marino 2014-02-19 15:22:17 +00:00
parent dd0b32d0a8
commit 1464e9ef59
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345102

View File

@ -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>