summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/asc/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/games/asc/Makefile b/games/asc/Makefile
index a96a05313c0..653b1a88b7d 100644
--- a/games/asc/Makefile
+++ b/games/asc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.58 2014/05/29 23:36:35 wiz Exp $
+# $NetBSD: Makefile,v 1.59 2014/05/30 11:32:56 joerg Exp $
DISTNAME= asc-source-1.16.4.0
PKGNAME= ${DISTNAME:S/-source//}
@@ -33,6 +33,11 @@ MAKE_ENV+= top_src_dir=.
# ../weaponguide.cpp:1205: virtual memory exhausted
UNLIMIT_RESOURCES= datasize
+.include "../../mk/compiler.mk"
+.if !empty(PKGSRC_COMPILER:Mclang)
+CONFIGURE_ARGS+= --disable-gcc296-detection
+.endif
+
post-extract:
mv ${WRKDIR}/*.mp3 ${WRKSRC}/data/music