diff options
author | reed <reed@pkgsrc.org> | 2004-03-11 20:50:07 +0000 |
---|---|---|
committer | reed <reed@pkgsrc.org> | 2004-03-11 20:50:07 +0000 |
commit | 9cc0de51686bb37840cfd50e7aa622d828e2d2f7 (patch) | |
tree | 8e2e63b751e7a0bfbcf03af45f62a4dab52126da /net | |
parent | 2366251f81ce4950ee0e4fa349acbbe2d5db45b2 (diff) | |
download | pkgsrc-9cc0de51686bb37840cfd50e7aa622d828e2d2f7.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')
-rw-r--r-- | net/libpcap/Makefile | 5 |
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 |