summaryrefslogtreecommitdiff
path: root/net/libpcap
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-02-25 16:20:49 +0000
committerjperkin <jperkin@pkgsrc.org>2016-02-25 16:20:49 +0000
commitc38a63e5d4278b3cbf0ab593b165910762a1d371 (patch)
tree97af6be06b9ddcb0ed7c9f9c32a4c4f218021b96 /net/libpcap
parente928cf546372a3d49dac11dbc2bddc9216e4dc5c (diff)
downloadpkgsrc-c38a63e5d4278b3cbf0ab593b165910762a1d371.tar.gz
Use OPSYSVARS.
Diffstat (limited to 'net/libpcap')
-rw-r--r--net/libpcap/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/net/libpcap/Makefile b/net/libpcap/Makefile
index f574fd7493d..e6503c212d2 100644
--- a/net/libpcap/Makefile
+++ b/net/libpcap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.60 2015/10/17 10:07:54 adam Exp $
+# $NetBSD: Makefile,v 1.61 2016/02/25 16:20:51 jperkin Exp $
DISTNAME= libpcap-1.7.4
CATEGORIES= net
@@ -15,14 +15,10 @@ USE_LIBTOOL= yes
USE_TOOLS+= bison flex gm4
GNU_CONFIGURE= yes
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "SunOS"
-CONFIGURE_ARGS+= --with-pcap=dlpi
# Versions of SunOS which include getifaddrs confuse the configure script,
# and result in dlpi stubs not being enabled.
-CONFIGURE_ENV+= ac_cv_func_getifaddrs=no
-.endif
+CONFIGURE_ARGS.SunOS+= --with-pcap=dlpi
+CONFIGURE_ENV.SunOS+= ac_cv_func_getifaddrs=no
post-install:
${INSTALL_DATA} ${WRKSRC}/pcap-int.h ${DESTDIR}${PREFIX}/include