summaryrefslogtreecommitdiff
path: root/games/vdrift
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2007-09-06 05:40:11 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2007-09-06 05:40:11 +0000
commite65deabb136738d816cca67a116c3db30f429294 (patch)
tree037959941d22530dc589947a61c1a3fab3002383 /games/vdrift
parent- Fix build with GCC 4.x (diff)
- Fix build with GCC 4.x
Reported by: kris, pav
Notes
Notes: svn path=/head/; revision=198902
Diffstat (limited to 'games/vdrift')
-rw-r--r--games/vdrift/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/vdrift/Makefile b/games/vdrift/Makefile
index e1ac0cca9b34..0f42581211f5 100644
--- a/games/vdrift/Makefile
+++ b/games/vdrift/Makefile
@@ -7,7 +7,7 @@
PORTNAME= vdrift
PORTVERSION= 20070323
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -62,6 +62,7 @@ post-patch:
@${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/SConstruct
@${REINPLACE_CMD} -e "s|'openal'|'openal','alut'|g" ${WRKSRC}/SConstruct
@${REINPLACE_CMD} -e 's|^os.system.*||g' ${WRKSRC}/src/SConscript
+ @${REINPLACE_CMD} -e 's|GLvoid|void|g' ${WRKSRC}/src/main.cpp
do-build:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} scons ${SCONS_ARGS}