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.)
24 lines
551 B
Makefile
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"
|