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 | |
parent | e32380502f7a410c38067377f3d8079c97d846d1 (diff) | |
download | pkgsrc-b28374defa5b05716d2139c3103c659171f6bd05.tar.gz |
get rid of autoconf build dependency by patching configure
-rw-r--r-- | net/trafshow/Makefile | 7 | ||||
-rw-r--r-- | net/trafshow/distinfo | 3 | ||||
-rw-r--r-- | net/trafshow/patches/patch-ah | 23 | ||||
-rw-r--r-- | security/pakemon/Makefile | 6 | ||||
-rw-r--r-- | security/pakemon/distinfo | 3 | ||||
-rw-r--r-- | security/pakemon/patches/patch-ac | 13 |
6 files changed, 42 insertions, 13 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 diff --git a/security/pakemon/Makefile b/security/pakemon/Makefile index 92393cef2dc..2cb377d4078 100644 --- a/security/pakemon/Makefile +++ b/security/pakemon/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2001/09/27 23:18:39 jlam Exp $ +# $NetBSD: Makefile,v 1.8 2002/10/02 19:11:59 dillo Exp $ DISTNAME= pakemon-0.3.1 CATEGORIES= security @@ -13,14 +13,10 @@ DEPENDS+= libnet-[0-9]*:../../devel/libnet # only at compile-time. # BUILD_DEPENDS+= libnids-1.14:../../net/libnids -BUILD_DEPENDS+= autoconf>=2.13:../../devel/autoconf GNU_CONFIGURE= yes post-extract: ${CP} ${WRKSRC}/pakemon.h ${WRKSRC}/pakemon.h.in -post-patch: - cd ${WRKSRC}; autoreconf - .include "../../mk/bsd.pkg.mk" diff --git a/security/pakemon/distinfo b/security/pakemon/distinfo index ac317e3edd1..3b4e9b0332d 100644 --- a/security/pakemon/distinfo +++ b/security/pakemon/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.2 2001/04/19 15:40:36 agc Exp $ +$NetBSD: distinfo,v 1.3 2002/10/02 19:11:59 dillo Exp $ SHA1 (pakemon-0.3.1.tar.gz) = 27708ac303a58432222b53b71b6ca13e71502f7e Size (pakemon-0.3.1.tar.gz) = 110065 bytes SHA1 (patch-aa) = 22155e703130a28ba4bf34922b3926411cb917b8 SHA1 (patch-ab) = d35a76ae3ef96d51526f20d9973d1743c038cf81 +SHA1 (patch-ac) = 2f259e12f54742789e8ac36f8a1eead4afcfac14 diff --git a/security/pakemon/patches/patch-ac b/security/pakemon/patches/patch-ac new file mode 100644 index 00000000000..efa6213ffd1 --- /dev/null +++ b/security/pakemon/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1 2002/10/02 19:12:00 dillo Exp $ + +--- configure.orig Sun Jan 7 07:06:39 2001 ++++ configure +@@ -1908,7 +1908,7 @@ EOF + + cat >> $CONFIG_STATUS <<EOF + +-CONFIG_FILES=\${CONFIG_FILES-"Makefile"} ++CONFIG_FILES=\${CONFIG_FILES-"Makefile pakemon.h"} + EOF + cat >> $CONFIG_STATUS <<\EOF + for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then |