aboutsummaryrefslogtreecommitdiff
path: root/games/evq3
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2008-08-18 16:41:35 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2008-08-18 16:41:35 +0000
commit9ebf82f1ffcf421472e250a6b75ed8e929062092 (patch)
tree45c243e8965dc7befade00286d087a2f69afadb0 /games/evq3
parent1755ac36cb73346e2a4c232b5b78b52626ad5d8b (diff)
downloadports-9ebf82f1ffcf421472e250a6b75ed8e929062092.tar.gz
ports-9ebf82f1ffcf421472e250a6b75ed8e929062092.zip
Notes
Diffstat (limited to 'games/evq3')
-rw-r--r--games/evq3/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/games/evq3/Makefile b/games/evq3/Makefile
index 3d0ebdc8ccbd..ee7c3f90e003 100644
--- a/games/evq3/Makefile
+++ b/games/evq3/Makefile
@@ -26,6 +26,7 @@ USE_DOS2UNIX= yes
USE_GMAKE= yes
ALL_TARGET= release
WRKSRC= ${WRKDIR}/${PORTNAME}
+CFLAGS+= -DMAP_ANONYMOUS=MAP_ANON
OPTIONS= CLIENT "Build client" on \
CURL "Enable curl support" on \
@@ -135,6 +136,9 @@ post-patch:
# Do not log debug output of bots (can be enabled with "homedir"/"gamedir").
@${REINPLACE_CMD} -e 's|"botlib\.log"|"/dev/null"|' \
${WRKSRC}/code/botlib/be_interface.c
+# Enable mmap on i386.
+ @${REINPLACE_CMD} -e 's|__linux__|__unix__|' \
+ ${WRKSRC}/code/qcommon/vm_x86.c
do-install:
${MKDIR} ${LIBDIR}/baseq3