aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2013-09-14 01:14:54 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2013-09-14 01:14:54 +0000
commit7ee0fd625801818e765109a017986c58a02c930f (patch)
tree04d63020640d902c373479e2c46416d589f892c3 /games
parentd83ccab17a32b38b3764df1f5fc756e6aa2223f5 (diff)
downloadports-7ee0fd625801818e765109a017986c58a02c930f.tar.gz
ports-7ee0fd625801818e765109a017986c58a02c930f.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/openxcom/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/games/openxcom/Makefile b/games/openxcom/Makefile
index 02b305ec4b5c..fc6114386e82 100644
--- a/games/openxcom/Makefile
+++ b/games/openxcom/Makefile
@@ -23,7 +23,6 @@ GH_COMMIT= 5c8b540
USES= gmake pkgconfig
USE_SDL= sdl mixer image gfx
USE_GL= gl
-USE_GCC= yes
BUILD_WRKSRC= ${WRKSRC}/src
MAKEFILE= Makefile.simple
@@ -39,6 +38,10 @@ PORTDATA= *
.include <bsd.port.options.mk>
+.if ${OSVERSION} < 1000000
+USE_GCC= yes
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/src/pch.h \
${WRKSRC}/src/Engine/Surface.cpp