summaryrefslogtreecommitdiff
path: root/net/ngrep
diff options
context:
space:
mode:
authorrecht <recht@pkgsrc.org>2004-06-02 22:06:01 +0000
committerrecht <recht@pkgsrc.org>2004-06-02 22:06:01 +0000
commitc14ae4c40d486af7b33460c3128b10912860d896 (patch)
tree77a2c5cd96e731619ed28fd727edb0523950a099 /net/ngrep
parent98aa94cb7d6ee9b40d35f6004972f8aad1722d0c (diff)
downloadpkgsrc-c14ae4c40d486af7b33460c3128b10912860d896.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/ngrep')
-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}