1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

- Enable mmap in x86 VM, and fix amd64 VM.

This commit is contained in:
Alejandro Pulver 2008-08-18 16:41:35 +00:00
parent 1755ac36cb
commit 9ebf82f1ff
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=218777

View File

@ -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