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
commitda59d1c96e586ee9abc1588f670a823da633eed8 (patch)
tree77a2c5cd96e731619ed28fd727edb0523950a099 /net
parent49da960402dc1adc0767ce2fd26b585a2e2cc3bc (diff)
downloadpkgsrc-da59d1c96e586ee9abc1588f670a823da633eed8.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}