summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2011-10-12 17:33:58 +0000
committerhans <hans@pkgsrc.org>2011-10-12 17:33:58 +0000
commit5e5d4b72b7885c6c8938fa9e930df713c5c24567 (patch)
tree50c91cf0c163feea7fcb2ec81e935c745fe7b513 /net
parent10e07ad555cf9fbd06c2163b2700e146893465ba (diff)
downloadpkgsrc-5e5d4b72b7885c6c8938fa9e930df713c5c24567.tar.gz
Explicitly specify DLPI backend on SunOS < 5.11.
Diffstat (limited to 'net')
-rw-r--r--net/libpcap/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/libpcap/Makefile b/net/libpcap/Makefile
index 20635a9aae6..1bfdabf41d9 100644
--- a/net/libpcap/Makefile
+++ b/net/libpcap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.47 2011/02/11 12:11:26 adam Exp $
+# $NetBSD: Makefile,v 1.48 2011/10/12 17:33:58 hans Exp $
DISTNAME= libpcap-1.1.1
SVR4_PKGNAME= lpcap
@@ -28,6 +28,9 @@ CONFIGURE_ARGS+= --enable-ipv6
.endif
.if ${OPSYS} == "SunOS"
+.if ${OS_VERSION} != "5.11"
+CONFIGURE_ARGS+= --with-pcap=dlpi
+.endif
PLIST.SunOS= yes
.else
PLIST.std= yes