pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/libpcap Use USE_GNU_TOOLS for lex and yacc instead...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d7b6e5f092cf
branches:  trunk
changeset: 470761:d7b6e5f092cf
user:      reed <reed%pkgsrc.org@localhost>
date:      Thu Mar 11 20:50:07 2004 +0000

description:
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:

 net/libpcap/Makefile |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r ba02ed7e1298 -r d7b6e5f092cf net/libpcap/Makefile
--- a/net/libpcap/Makefile      Thu Mar 11 20:49:09 2004 +0000
+++ b/net/libpcap/Makefile      Thu Mar 11 20:50:07 2004 +0000
@@ -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 @@
 
 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



Home | Main Index | Thread Index | Old Index