From 205ab3cc57ae69322a36e830aa63d09e6dd16afc Mon Sep 17 00:00:00 2001 From: reed Date: Thu, 11 Mar 2004 20:50:07 +0000 Subject: 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.) --- net/libpcap/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'net/libpcap') 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 -- cgit v1.2.3