summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorrecht <recht>2004-06-02 22:06:01 +0000
committerrecht <recht>2004-06-02 22:06:01 +0000
commit08c968347af62b321e6cb11a8e45053548cba601 (patch)
tree77a2c5cd96e731619ed28fd727edb0523950a099 /net
parented1554764e4a9d627f5b53d6c0f30cc531665425 (diff)
downloadpkgsrc-08c968347af62b321e6cb11a8e45053548cba601.tar.gz
Add --disable-pcap-restart to CONFIGURE_ARGS in case of FreeBSD to
avoid crashes because of the old pcap library. Patch provided by pancake at phreaker dot net in PR 25792. Bump PKGREVISION to 1.
Diffstat (limited to 'net')
-rw-r--r--net/ngrep/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/net/ngrep/Makefile b/net/ngrep/Makefile
index c146e06c0e0..4637c2b8e79 100644
--- a/net/ngrep/Makefile
+++ b/net/ngrep/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.15 2004/04/13 13:50:05 adam Exp $
+# $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
@@ -19,6 +20,10 @@ 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}