summaryrefslogtreecommitdiff
path: root/net/arpd
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2011-11-25 22:10:48 +0000
committerjoerg <joerg@pkgsrc.org>2011-11-25 22:10:48 +0000
commit83c744a063b44bac4222089f0905edd87d497730 (patch)
treee1ed41bb81bf914a8ae6f2b08b8c795f149b412c /net/arpd
parentb70ec46c98fc3cc01c4b186f554992322644bf80 (diff)
downloadpkgsrc-83c744a063b44bac4222089f0905edd87d497730.tar.gz
Explicitly disable -Werror on NetBSD. GCC gets confused by the ARP
headers.
Diffstat (limited to 'net/arpd')
-rw-r--r--net/arpd/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/net/arpd/Makefile b/net/arpd/Makefile
index bc1ed3d6205..f40f59cc591 100644
--- a/net/arpd/Makefile
+++ b/net/arpd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2008/07/14 12:56:09 joerg Exp $
+# $NetBSD: Makefile,v 1.17 2011/11/25 22:10:48 joerg Exp $
#
DISTNAME= arpd
@@ -19,6 +19,13 @@ MAKE_ENV+= BINOWN=${BINOWN} BINGRP=${BINGRP}
INSTALLATION_DIRS= sbin share/doc ${PREFIX}/etc
+.include "../../mk/bsd.prefs.mk"
+
+# Bogus warning from GCC 4.5
+.if ${OPSYS} == "NetBSD"
+BUILDLINK_TRANSFORM+= rm:-Werror
+.endif
+
post-install:
${INSTALL_MAN} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/arpd.README
${INSTALL_DATA} ${WRKSRC}/arpd.conf ${DESTDIR}${PREFIX}/etc/arpd.conf.example