aboutsummaryrefslogtreecommitdiff
path: root/games/warzone
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2006-04-23 10:14:30 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2006-04-23 10:14:30 +0000
commitc36bc8fc881f6eb4d76f3f8f7844854f3a828226 (patch)
treeaaf30a64e30860d610400f7306d965534b1f9570 /games/warzone
parentf17a91a7d963df9d89cec69323edd437ef8eb1ea (diff)
Notes
Diffstat (limited to 'games/warzone')
-rw-r--r--games/warzone/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/games/warzone/Makefile b/games/warzone/Makefile
index f908871c370c..1f970e95ced2 100644
--- a/games/warzone/Makefile
+++ b/games/warzone/Makefile
@@ -19,7 +19,8 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
mad.2:${PORTSDIR}/audio/libmad \
ogg.5:${PORTSDIR}/audio/libogg \
openal.0:${PORTSDIR}/audio/openal \
- vorbis.3:${PORTSDIR}/audio/libvorbis
+ vorbis.3:${PORTSDIR}/audio/libvorbis \
+ alut.0:${PORTSDIR}/audio/freealut
USE_BZIP2= yes
USE_REINPLACE= yes
@@ -43,7 +44,9 @@ post-patch:
.for f in configure *.c *.h
@${FIND} ${WRKSRC} -type f -name "${f}" -print0 | \
${XARGS} -0 ${REINPLACE_CMD} -e \
- 's|\(#include.*\)SDL/\(SDL.*\)|\1\2|'
+ 's|\(#include.*\)SDL/\(SDL.*\)|\1\2| ; \
+ s|-lopenal |&-lalut|g ; \
+ s|"-lalut|"-lopenal -lalut|'
.endfor
do-install: