summaryrefslogtreecommitdiff
path: root/devel/g-wrap
diff options
context:
space:
mode:
authorjoerg <joerg>2012-04-22 20:30:11 +0000
committerjoerg <joerg>2012-04-22 20:30:11 +0000
commitf1e664f40ead27b516869e9ec280c76cbe2a216c (patch)
treee0239c8cabe74e257d18b8bed1a1234ff35c5e12 /devel/g-wrap
parent3f1ab42b62f4ecbb6b60df7825d097e9518cb106 (diff)
downloadpkgsrc-f1e664f40ead27b516869e9ec280c76cbe2a216c.tar.gz
Don't enable -Werror with clang.
Diffstat (limited to 'devel/g-wrap')
-rw-r--r--devel/g-wrap/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/devel/g-wrap/Makefile b/devel/g-wrap/Makefile
index 80c6a0a2522..136beb80bb3 100644
--- a/devel/g-wrap/Makefile
+++ b/devel/g-wrap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.62 2012/03/03 00:12:54 wiz Exp $
+# $NetBSD: Makefile,v 1.63 2012/04/22 20:30:11 joerg Exp $
DISTNAME= g-wrap-1.9.14
PKGREVISION= 2
@@ -25,7 +25,9 @@ INFO_FILES= YES
INSTALLATION_DIRS= share/guile/site/g-wrap/guile/ws
.include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} == "SunOS"
+.include "../../mk/compiler.mk"
+
+.if ${OPSYS} == "SunOS" || !empty(PKGSRC_COMPILER:Mclang)
CONFIGURE_ARGS+= --disable-Werror
.endif