aboutsummaryrefslogtreecommitdiff
path: root/games/qmars
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2008-01-30 21:35:21 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2008-01-30 21:35:21 +0000
commitbbef7cfcc78505537a631b143360836518a93461 (patch)
tree10074c9eb779bc56b3134caeac4c144e7d1c52a6 /games/qmars
parentb8e10f92ecf9e0eb4d5247bffa98b36def19f907 (diff)
downloadports-bbef7cfcc78505537a631b143360836518a93461.tar.gz
ports-bbef7cfcc78505537a631b143360836518a93461.zip
- Fix building with GCC 4.x.
Reported by: pav
Notes
Notes: svn path=/head/; revision=206480
Diffstat (limited to 'games/qmars')
-rw-r--r--games/qmars/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/games/qmars/Makefile b/games/qmars/Makefile
index 0dee8a59c3e2..64141536df22 100644
--- a/games/qmars/Makefile
+++ b/games/qmars/Makefile
@@ -25,6 +25,8 @@ post-patch:
${WRKSRC}/${MAKEFILE}
@${REINPLACE_CMD} -e 's|\./||' ${WRKSRC}/bench.*
@${REINPLACE_CMD} -e 's|pmars|&-server|' ${WRKSRC}/bench.pmars
+ @${REINPLACE_CMD} -e 's|Warrior::||' ${WRKSRC}/warrior.hpp
+ @${REINPLACE_CMD} -e 's|Parser::||' ${WRKSRC}/parser.hpp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin