summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2014-05-30 11:32:56 +0000
committerjoerg <joerg@pkgsrc.org>2014-05-30 11:32:56 +0000
commitdcf72b62f4117cd069e06ae45f77c7d0fa8ada73 (patch)
tree1f5217fe1f39d09b89a3ad6ced44bf5fe3fae51c /games
parent4df3ce1f4e5c7a41d69694eef889ab9afcda913b (diff)
downloadpkgsrc-dcf72b62f4117cd069e06ae45f77c7d0fa8ada73.tar.gz
Clang for some reason is not a GCC release, but trust it to work anyway.
Diffstat (limited to 'games')
-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