diff options
author | acm <acm@FreeBSD.org> | 2007-09-06 13:40:11 +0800 |
---|---|---|
committer | acm <acm@FreeBSD.org> | 2007-09-06 13:40:11 +0800 |
commit | 782731a5875e77a4910398f685b3c7a931b42009 (patch) | |
tree | 34608f0d8fead02126ba1904f80712056b32f8a3 /games | |
parent | 0aea1f94b60703fccc33c6d4a238ccf226f1c164 (diff) | |
download | freebsd-ports-782731a5875e77a4910398f685b3c7a931b42009.tar.gz freebsd-ports-782731a5875e77a4910398f685b3c7a931b42009.tar.zst freebsd-ports-782731a5875e77a4910398f685b3c7a931b42009.zip |
- Fix build with GCC 4.x
Reported by: kris, pav
Diffstat (limited to 'games')
-rw-r--r-- | games/vdrift/Makefile | 3 |
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} |