c14ae4c40d
avoid crashes because of the old pcap library. Patch provided by pancake at phreaker dot net in PR 25792. Bump PKGREVISION to 1.
33 lines
798 B
Makefile
33 lines
798 B
Makefile
# $NetBSD: Makefile,v 1.16 2004/06/02 22:06:01 recht Exp $
|
|
#
|
|
|
|
DISTNAME= ngrep-1.42
|
|
PKGREVISION= 1
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ngrep/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= hubertf@NetBSD.org
|
|
HOMEPAGE= http://ngrep.sourceforge.net/
|
|
COMMENT= Network grep
|
|
|
|
USE_BUILDLINK3= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-pcre
|
|
# ngrep's configure use --includedir/$includedir in a weird way!
|
|
CONFIGURE_ARGS+= --includedir=${BUILDLINK_PREFIX.libpcap}/include
|
|
ALL_TARGET= ngrep
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} = "FreeBSD"
|
|
CONFIGURE_ARGS+= --disable-pcap-restart
|
|
.endif
|
|
|
|
.if ${OPSYS} == "SunOS" || ${OPSYS} == "Linux"
|
|
do-configure:
|
|
cd ${WRKSRC}; ./configure --prefix=${PREFIX}
|
|
.endif
|
|
|
|
.include "../../net/libpcap/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|