diff options
author | dillo <dillo@pkgsrc.org> | 2002-10-02 19:11:59 +0000 |
---|---|---|
committer | dillo <dillo@pkgsrc.org> | 2002-10-02 19:11:59 +0000 |
commit | b28374defa5b05716d2139c3103c659171f6bd05 (patch) | |
tree | 54d7c1a041c9027a33e70090b7a56f272a258cbc /net/trafshow | |
parent | e32380502f7a410c38067377f3d8079c97d846d1 (diff) | |
download | pkgsrc-b28374defa5b05716d2139c3103c659171f6bd05.tar.gz |
get rid of autoconf build dependency by patching configure
Diffstat (limited to 'net/trafshow')
-rw-r--r-- | net/trafshow/Makefile | 7 | ||||
-rw-r--r-- | net/trafshow/distinfo | 3 | ||||
-rw-r--r-- | net/trafshow/patches/patch-ah | 23 |
3 files changed, 26 insertions, 7 deletions
diff --git a/net/trafshow/Makefile b/net/trafshow/Makefile index 7b9dcad01c2..4f5b2340be0 100644 --- a/net/trafshow/Makefile +++ b/net/trafshow/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2002/05/11 10:21:28 zuntum Exp $ +# $NetBSD: Makefile,v 1.13 2002/10/02 19:20:39 dillo Exp $ DISTNAME= trafshow-3.1 PKGREVISION= 1 @@ -14,8 +14,6 @@ MAINTAINER= packages@netbsd.org HOMEPAGE= http://soft.risp.ru/trafshow/index.shtml COMMENT= Full screen visualization of the network traffic -BUILD_DEPENDS+= autoconf>=2.13:../../devel/autoconf - GNU_CONFIGURE= yes ALL_TARGET= trafshow @@ -27,9 +25,6 @@ BUILD_DEFS+= USE_INET6 CPPFLAGS+= -DINET6 .endif -pre-configure: - cd ${WRKSRC} && ${LOCALBASE}/bin/autoreconf - do-install: ${INSTALL_PROGRAM} ${WRKSRC}/trafshow ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/trafshow.1 ${PREFIX}/man/man1 diff --git a/net/trafshow/distinfo b/net/trafshow/distinfo index d4dfda8a4d7..151ab6e0d6d 100644 --- a/net/trafshow/distinfo +++ b/net/trafshow/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.3 2002/05/11 10:21:29 zuntum Exp $ +$NetBSD: distinfo,v 1.4 2002/10/02 19:20:40 dillo Exp $ SHA1 (trafshow-3.1.tgz) = 6d8b65d265c76cb85ecc26104cf9ec56db853cbc Size (trafshow-3.1.tgz) = 72342 bytes @@ -7,3 +7,4 @@ Size (trafshow-31-v6-20010322a.diff.gz) = 5490 bytes SHA1 (patch-aa) = b148e50d762a0b914658788ce484eacf929e0e10 SHA1 (patch-af) = 82a3a7906d28465ec83724946b360508e59b655c SHA1 (patch-ag) = 981a63f03cce85b2f295901b7ea1e7930b859cf1 +SHA1 (patch-ah) = 14e41b46b9792eb79df983c62d2477bd224b7eea diff --git a/net/trafshow/patches/patch-ah b/net/trafshow/patches/patch-ah new file mode 100644 index 00000000000..714d91a3c48 --- /dev/null +++ b/net/trafshow/patches/patch-ah @@ -0,0 +1,23 @@ +$NetBSD: patch-ah,v 1.1 2002/10/02 19:20:41 dillo Exp $ + +--- configure.orig Wed Oct 2 21:15:39 2002 ++++ configure +@@ -2554,6 +2629,18 @@ echo "$ac_t""$V_PCAPVER" 1>&6 + V_GROUP=0 + case "$target_os" in + ++netbsd*) ++ cat >> confdefs.h <<\EOF ++#define HAVE_RTF_LLINFO 1 ++EOF ++ ++ ;; ++openbsd*) ++ cat >> confdefs.h <<\EOF ++#define HAVE_RTF_LLINFO 1 ++EOF ++ ++ ;; + freebsd*) + cat >> confdefs.h <<\EOF + #define HAVE_RTF_LLINFO 1 |