aboutsummaryrefslogtreecommitdiff
path: root/games/freeciv
diff options
context:
space:
mode:
authorAndrew Pantyukhin <sat@FreeBSD.org>2008-02-27 16:12:11 +0000
committerAndrew Pantyukhin <sat@FreeBSD.org>2008-02-27 16:12:11 +0000
commit5a7753ad19aa10e58d0e6b780661640f66c0b85b (patch)
tree6a8edf9c318de0e8f226e109c3dceabb8971bca4 /games/freeciv
parent1cecef067b61af49b2542007120730810fc0b5f8 (diff)
- Fix build with pthread-enabled SDL
PR: ports/121123 Submitted by: Denis Eremenko <moonshade@pnhz.kz>
Notes
Notes: svn path=/head/; revision=208010
Diffstat (limited to 'games/freeciv')
-rw-r--r--games/freeciv/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/freeciv/Makefile b/games/freeciv/Makefile
index d1cadbda98b5..b0962b1b9040 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}|'