diff options
-rw-r--r-- | games/evq3/Makefile | 4 |
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 |