pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/ngrep Add --disable-pcap-restart to CONFIGURE_ARGS...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ca53548b01b5
branches:  trunk
changeset: 476084:ca53548b01b5
user:      recht <recht%pkgsrc.org@localhost>
date:      Wed Jun 02 22:06:01 2004 +0000

description:
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:

 net/ngrep/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r c8b9afa6e01f -r ca53548b01b5 net/ngrep/Makefile
--- a/net/ngrep/Makefile        Wed Jun 02 21:50:31 2004 +0000
+++ b/net/ngrep/Makefile        Wed Jun 02 22:06:01 2004 +0000
@@ -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 @@
 
 .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}



Home | Main Index | Thread Index | Old Index