aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2006-04-25 20:02:13 +0800
committerpav <pav@FreeBSD.org>2006-04-25 20:02:13 +0800
commit463e98f07ffc7b5dd13b011f57c68f1dc84260d9 (patch)
tree387bc0cdd04f960ff2e4e720baf0257ffb8ada59
parentbb85b612d6db521ee67992c594230440a2346ed9 (diff)
downloadfreebsd-ports-gnome-463e98f07ffc7b5dd13b011f57c68f1dc84260d9.tar.gz
freebsd-ports-gnome-463e98f07ffc7b5dd13b011f57c68f1dc84260d9.tar.zst
freebsd-ports-gnome-463e98f07ffc7b5dd13b011f57c68f1dc84260d9.zip
- Fix build with recent openal, where freealut is a separate project
Reported by: krismail
-rw-r--r--games/vdrift/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/games/vdrift/Makefile b/games/vdrift/Makefile
index 2b4d7b37b234..cfb95e974184 100644
--- a/games/vdrift/Makefile
+++ b/games/vdrift/Makefile
@@ -7,6 +7,7 @@
PORTNAME= vdrift
PORTVERSION= 20060221
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -17,7 +18,8 @@ MAINTAINER= acardenas@bsd.org.pe
COMMENT= Open source driving simulation
BUILD_DEPENDS= scons:${PORTSDIR}/devel/scons
-LIB_DEPENDS= openal.0:${PORTSDIR}/audio/openal
+LIB_DEPENDS= openal.0:${PORTSDIR}/audio/openal \
+ alut.0:${PORTSDIR}/audio/freealut
RUN_DEPENDS= ${X11BASE}/share/${PORTNAME}/settings/VDrift.config:${PORTSDIR}/games/vdrift-data
USE_BZIP2= yes
@@ -53,6 +55,7 @@ post-patch:
@${FIND} ${WRKSRC}/include/* -type f -exec ${REINPLACE_CMD} -e 's|SDL/|SDL11/|g' "{}" \;
@${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/SConstruct
@${REINPLACE_CMD} -e 's|sdl-config|sdl11-config|g' ${WRKSRC}/src/SConscript
+ @${REINPLACE_CMD} -e "s|'openal'|'openal','alut'|g" ${WRKSRC}/SConstruct
do-build:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} scons ${SCONS_ARGS}