blob: e6503c212d21b0ed903564d074585ec98d68fc53 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# $NetBSD: Makefile,v 1.61 2016/02/25 16:20:51 jperkin Exp $
DISTNAME= libpcap-1.7.4
CATEGORIES= net
MASTER_SITES= http://www.tcpdump.org/release/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.tcpdump.org/
COMMENT= System-independent interface for user-level packet capture
LICENSE= modified-bsd
NOT_FOR_PLATFORM+= Interix-*-* # no raw interface access
USE_LIBTOOL= yes
USE_TOOLS+= bison flex gm4
GNU_CONFIGURE= yes
# Versions of SunOS which include getifaddrs confuse the configure script,
# and result in dlpi stubs not being enabled.
CONFIGURE_ARGS.SunOS+= --with-pcap=dlpi
CONFIGURE_ENV.SunOS+= ac_cv_func_getifaddrs=no
post-install:
${INSTALL_DATA} ${WRKSRC}/pcap-int.h ${DESTDIR}${PREFIX}/include
.include "../../mk/bsd.pkg.mk"
|