diff options
author | reed <reed> | 2004-03-11 20:50:07 +0000 |
---|---|---|
committer | reed <reed> | 2004-03-11 20:50:07 +0000 |
commit | 9b12721a777df35a12966aaa2bd138ab737db5fe (patch) | |
tree | 8e2e63b751e7a0bfbcf03af45f62a4dab52126da | |
parent | 11a37d795973cd8036cf791aa7a5dcec21747769 (diff) | |
download | pkgsrc-9b12721a777df35a12966aaa2bd138ab737db5fe.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.)
-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 |