summaryrefslogtreecommitdiff
path: root/net/xorp
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2012-08-10 17:59:45 +0000
committerjoerg <joerg@pkgsrc.org>2012-08-10 17:59:45 +0000
commitc0fdbbf9367dc1ae3eea08c68b5b2201d96461f3 (patch)
tree816897af3e42ee8df187655cbf6e00274fd89f8e /net/xorp
parentac0ef8ca52cba4ddd1927c2abd7abc30c20a744f (diff)
downloadpkgsrc-c0fdbbf9367dc1ae3eea08c68b5b2201d96461f3.tar.gz
Disable -Werror for clang again.
Diffstat (limited to 'net/xorp')
-rw-r--r--net/xorp/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net/xorp/Makefile b/net/xorp/Makefile
index e9d6d2a99a6..2447f6726b2 100644
--- a/net/xorp/Makefile
+++ b/net/xorp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2012/07/03 17:36:10 joerg Exp $
+# $NetBSD: Makefile,v 1.26 2012/08/10 17:59:45 joerg Exp $
#
DISTNAME= xorp-1.6
@@ -31,5 +31,11 @@ pre-build:
cd ${WRKSRC}/policy/test && ${MAKE} lex
cd ${WRKSRC}/rtrmgr && ${MAKE} lex
+.include "../../mk/compiler.mk"
+
+.if !empty(PKGSRC_COMPILER:Mclang)
+BUILDLINK_TRANSFORM+= rm:-Werror
+.endif
+
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"