aboutsummaryrefslogtreecommitdiff
path: root/games/trigger
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/trigger
parentf17a91a7d963df9d89cec69323edd437ef8eb1ea (diff)
downloadports-c36bc8fc881f6eb4d76f3f8f7844854f3a828226.tar.gz
ports-c36bc8fc881f6eb4d76f3f8f7844854f3a828226.zip
Notes
Diffstat (limited to 'games/trigger')
-rw-r--r--games/trigger/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/games/trigger/Makefile b/games/trigger/Makefile
index 852bb3127524..25ffacfa8002 100644
--- a/games/trigger/Makefile
+++ b/games/trigger/Makefile
@@ -18,7 +18,8 @@ COMMENT= A rally car racing game
BUILD_DEPENDS= jam:${PORTSDIR}/devel/jam
LIB_DEPENDS= openal:${PORTSDIR}/audio/openal \
- physfs:${PORTSDIR}/devel/physfs
+ physfs:${PORTSDIR}/devel/physfs \
+ alut.0:${PORTSDIR}/audio/freealut
USE_X_PREFIX= yes
USE_SDL= sdl image
@@ -42,7 +43,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|SDL/||' \
${WRKSRC}/src/trigger/main.cpp \
${WRKSRC}/src/pengine/texture.cpp
- @${REINPLACE_CMD} -e 's|\$${prefix}/share|${DATADIR}|' \
+ @${REINPLACE_CMD} -e 's|\$${prefix}/share|${DATADIR}|; \
+ s|-lopenal|& -lalut|g' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|-O3||' ${WRKSRC}/Jamrules