diff options
-rw-r--r-- | games/openxcom/Makefile | 5 |
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 |