summaryrefslogtreecommitdiff
path: root/net/libdnet
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2011-09-14 17:28:19 +0000
committerhans <hans@pkgsrc.org>2011-09-14 17:28:19 +0000
commitc7dff112793b7302323d9f6dbd58a512ada1335c (patch)
tree0847639f54d75649b1935cf051ff7ac553205159 /net/libdnet
parent06e36fa8dfb283fb82027e696239cbd7082c1e68 (diff)
downloadpkgsrc-c7dff112793b7302323d9f6dbd58a512ada1335c.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/libdnet')
-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"