pkgsrc/net/libpcap/Makefile
2016-03-08 12:53:34 +00:00

27 lines
797 B
Makefile

# $NetBSD: Makefile,v 1.62 2016/03/08 12:53:34 adam 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
CONFIGURE_ARGS.Darwin+= --disable-universal
# 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"