summaryrefslogtreecommitdiff
path: root/net/libpcap
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2004-03-11 20:50:07 +0000
committerreed <reed@pkgsrc.org>2004-03-11 20:50:07 +0000
commit205ab3cc57ae69322a36e830aa63d09e6dd16afc (patch)
tree8e2e63b751e7a0bfbcf03af45f62a4dab52126da /net/libpcap
parentb565285e6e8d3d2546992a62b874ec3fdaa05b24 (diff)
downloadpkgsrc-205ab3cc57ae69322a36e830aa63d09e6dd16afc.tar.gz
Use USE_GNU_TOOLS for lex and yacc instead of just using BUILD_DEPENDS
for SunOS only. Okayed by maintainer, tron@. (Also this checks for SunOS and /usr/include/netinet/ip6.h for IPv6 support, maybe the OPSYS check can be removed; but this is not changed in this patch.)
Diffstat (limited to 'net/libpcap')
-rw-r--r--net/libpcap/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/libpcap/Makefile b/net/libpcap/Makefile
index a7282e1ff90..142a83db68b 100644
--- a/net/libpcap/Makefile
+++ b/net/libpcap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2004/02/18 18:44:37 minskim Exp $
+# $NetBSD: Makefile,v 1.16 2004/03/11 20:50:07 reed Exp $
DISTNAME= libpcap-0.7.2
SVR4_PKGNAME= lpcap
@@ -11,12 +11,11 @@ COMMENT= System-independent interface for user-level packet capture
USE_BUILDLINK3= yes
GNU_CONFIGURE= yes
+USE_GNU_TOOLS+= lex yacc
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
-BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison
-BUILD_DEPENDS+= flex-[0-9]*:../../devel/flex
. if exists(/usr/include/netinet/ip6.h)
CONFIGURE_ARGS+= --enable-ipv6
. endif