summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorhans <hans>2011-09-14 17:28:19 +0000
committerhans <hans>2011-09-14 17:28:19 +0000
commit9e9a300c5dc81c6b0d53ca9e4676aa52f79220b6 (patch)
tree0847639f54d75649b1935cf051ff7ac553205159 /net
parent32d55fd10ee2d103daae39b24d3209afefae2e15 (diff)
downloadpkgsrc-9e9a300c5dc81c6b0d53ca9e4676aa52f79220b6.tar.gz
Fix build on SunOS by overriding the test for Linux-specific PF_PACKET,
which is misdetected on recent SunOS versions.
Diffstat (limited to 'net')
-rw-r--r--net/libdnet/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/net/libdnet/Makefile b/net/libdnet/Makefile
index cfc5f952f04..6e6fbefad8c 100644
--- a/net/libdnet/Makefile
+++ b/net/libdnet/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2011/02/07 05:45:17 obache Exp $
+# $NetBSD: Makefile,v 1.19 2011/09/14 17:28:19 hans Exp $
#
DISTNAME= libdnet-1.12
@@ -35,4 +35,9 @@ TEST_TARGET= check
CONFIGURE_ARGS+= --without-check
.endif
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "SunOS"
+CONFIGURE_ENV+= ac_cv_dnet_linux_pf_packet=no
+.endif
+
.include "../../mk/bsd.pkg.mk"