summaryrefslogtreecommitdiff
path: root/net/libpcap
diff options
context:
space:
mode:
authorhans <hans>2011-10-12 17:33:58 +0000
committerhans <hans>2011-10-12 17:33:58 +0000
commit59de4e5fd2ce19a47c7ac238f50c97ae6a41fcb4 (patch)
tree50c91cf0c163feea7fcb2ec81e935c745fe7b513 /net/libpcap
parentc40eed9a7de3f5ab27daea4c92ef5095849a94cf (diff)
downloadpkgsrc-59de4e5fd2ce19a47c7ac238f50c97ae6a41fcb4.tar.gz
Explicitly specify DLPI backend on SunOS < 5.11.
Diffstat (limited to 'net/libpcap')
-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