summaryrefslogtreecommitdiff
path: root/net/libpcap
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
commit2542bb24fa4abaa4de8071645d940c33c7e684d3 (patch)
tree50c91cf0c163feea7fcb2ec81e935c745fe7b513 /net/libpcap
parentb75d6002d51a369dd645ab87aba795e68d984098 (diff)
downloadpkgsrc-2542bb24fa4abaa4de8071645d940c33c7e684d3.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