aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2008-02-28 00:12:11 +0800
committersat <sat@FreeBSD.org>2008-02-28 00:12:11 +0800
commitbb3d42fb497bb90f9d948d5576d6e5c506203918 (patch)
tree8f2773deba8c577d5f40d157eeb6d532774cae29 /games
parent5f80a564e84893f95f6dcfd217ecd7f6d7657694 (diff)
downloadfreebsd-ports-graphics-bb3d42fb497bb90f9d948d5576d6e5c506203918.tar.gz
freebsd-ports-graphics-bb3d42fb497bb90f9d948d5576d6e5c506203918.tar.zst
freebsd-ports-graphics-bb3d42fb497bb90f9d948d5576d6e5c506203918.zip
- Fix build with pthread-enabled SDL
PR: ports/121123 Submitted by: Denis Eremenko <moonshade@pnhz.kz>
Diffstat (limited to 'games')
-rw-r--r--games/freeciv/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/freeciv/Makefile b/games/freeciv/Makefile
index d1cadbda98b..b0962b1b904 100644
--- a/games/freeciv/Makefile
+++ b/games/freeciv/Makefile
@@ -55,7 +55,8 @@ CONFLICTS= freeciv-[0-9]*
.endif
post-patch:
- @${REINPLACE_CMD} -e '/test.*==/s|==|=|' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e '/test.*==/s|==|=|;\
+ /^LIBS/s|mixer|mixer $$SDL_LIBS|g' ${WRKSRC}/configure
@${FIND} ${WRKSRC} -name Makefile.in|${XARGS} ${REINPLACE_CMD} -e\
'/pkgdatadir/s|$$[(]datadir[)]/@PACKAGE@|${DATADIR}|'