summaryrefslogtreecommitdiff
path: root/net/xorp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/xorp/Makefile')
-rw-r--r--net/xorp/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/net/xorp/Makefile b/net/xorp/Makefile
index c4c13229340..a65944ebf0d 100644
--- a/net/xorp/Makefile
+++ b/net/xorp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2014/02/12 23:18:27 tron Exp $
+# $NetBSD: Makefile,v 1.30 2014/12/29 07:03:46 dholland Exp $
#
DISTNAME= xorp-1.6
@@ -29,11 +29,9 @@ pre-build:
cd ${WRKSRC}/policy/test && ${MAKE} lex
cd ${WRKSRC}/rtrmgr && ${MAKE} lex
-.include "../../mk/compiler.mk"
-
-.if !empty(PKGSRC_COMPILER:Mclang)
+# This used to be set for clang only, but it's needed for gcc as well
+# these days. See PR 36974; also there are other warnings with gcc48.
BUILDLINK_TRANSFORM+= rm:-Werror
-.endif
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"