pkgsrc/net/libpcap/Makefile
reed 205ab3cc57 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.)
2004-03-11 20:50:07 +00:00

24 lines
551 B
Makefile

# $NetBSD: Makefile,v 1.16 2004/03/11 20:50:07 reed Exp $
DISTNAME= libpcap-0.7.2
SVR4_PKGNAME= lpcap
CATEGORIES= net
MASTER_SITES= http://www.tcpdump.org/release/
MAINTAINER= tron@NetBSD.org
HOMEPAGE= http://www.tcpdump.org/
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"
. if exists(/usr/include/netinet/ip6.h)
CONFIGURE_ARGS+= --enable-ipv6
. endif
.endif
.include "../../mk/bsd.pkg.mk"