pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/xorp Disable -Werror for clang again.
details: https://anonhg.NetBSD.org/pkgsrc/rev/cd7f07a29ccb
branches: trunk
changeset: 607372:cd7f07a29ccb
user: joerg <joerg%pkgsrc.org@localhost>
date: Fri Aug 10 17:59:45 2012 +0000
description:
Disable -Werror for clang again.
diffstat:
net/xorp/Makefile | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 1459d43cc95d -r cd7f07a29ccb net/xorp/Makefile
--- a/net/xorp/Makefile Fri Aug 10 16:48:36 2012 +0000
+++ b/net/xorp/Makefile Fri Aug 10 17:59:45 2012 +0000
@@ -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 @@
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"
Home |
Main Index |
Thread Index |
Old Index