From bb97528be1a3d0d1ff950af6c5eba54d72d5dcae Mon Sep 17 00:00:00 2001 From: minskim Date: Tue, 6 Jun 2006 16:54:47 +0000 Subject: Make this package build on platforms without native pcap. --- security/netramet/Makefile | 5 ++++- security/netramet/distinfo | 3 ++- security/netramet/patches/patch-aj | 13 +++++++++++++ 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 security/netramet/patches/patch-aj (limited to 'security/netramet') diff --git a/security/netramet/Makefile b/security/netramet/Makefile index 46d27c10c9f..7e551ff6999 100644 --- a/security/netramet/Makefile +++ b/security/netramet/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2004/01/27 00:53:10 heinz Exp $ +# $NetBSD: Makefile,v 1.5 2006/06/06 16:54:47 minskim Exp $ # DISTNAME= NeTraMet44 @@ -12,6 +12,9 @@ COMMENT= NEtwork TRaffic METer GNU_CONFIGURE= YES CONFIGURE_ARGS+=--without-x +MAKE_ENV+= PCAP_LIB=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libpcap}/lib + +.include "../../net/libpcap/buildlink3.mk" post-patch: for i in `${FIND} ${WRKSRC} -name Makefile.in -print`; do \ diff --git a/security/netramet/distinfo b/security/netramet/distinfo index b67998db097..552a80505ae 100644 --- a/security/netramet/distinfo +++ b/security/netramet/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2005/12/08 18:02:07 joerg Exp $ +$NetBSD: distinfo,v 1.7 2006/06/06 16:54:47 minskim Exp $ SHA1 (NeTraMet44.tar.gz) = 7848d6aa81b29966127fc78afcd9375c60441a91 RMD160 (NeTraMet44.tar.gz) = f10185263adedf4e8184741998482992a35098e1 @@ -12,3 +12,4 @@ SHA1 (patch-af) = 426a678df83da70fc8c30a8955fca591d12d05c4 SHA1 (patch-ag) = 84d37e1d61a915355816c24321d7b2ba0169b3e0 SHA1 (patch-ah) = 9dc2a7095e4643076f56b3117d7ae733561334e3 SHA1 (patch-ai) = 468f84420c3d49dc1503cbe5f279080b4546f2cc +SHA1 (patch-aj) = 37a17df225a11ba568b3e37f6c1729bac7b6aee4 diff --git a/security/netramet/patches/patch-aj b/security/netramet/patches/patch-aj new file mode 100644 index 00000000000..af45dca6f3f --- /dev/null +++ b/security/netramet/patches/patch-aj @@ -0,0 +1,13 @@ +$NetBSD: patch-aj,v 1.1 2006/06/06 16:54:47 minskim Exp $ + +--- src/meter/Makefile.in.orig 2006-06-06 16:47:33.000000000 +0000 ++++ src/meter/Makefile.in +@@ -56,7 +56,7 @@ DAGI_DIR= /usr/local/dag/include + #DAGI_DIR= /home/nevil/dag-2.2.1s/include + # dag.h required to compiler dag_reset() + +-PCAP_LIB= ++PCAP_LIB?= + # Blank means "use libpcap.a in . or in system libraries" + #PCAP_LIB= -L/home/nevil/lib + -- cgit v1.2.3