diff options
author | hubertf <hubertf> | 1999-07-25 00:36:31 +0000 |
---|---|---|
committer | hubertf <hubertf> | 1999-07-25 00:36:31 +0000 |
commit | 7c6e35ccef379dc7b7c173bb8e1ba3442b90347c (patch) | |
tree | ccc62a37e8748598038c47aedec304fae018138a /net | |
parent | cd4b2538057378415edd5f55e5a50d9c72004777 (diff) | |
download | pkgsrc-7c6e35ccef379dc7b7c173bb8e1ba3442b90347c.tar.gz |
Add proper ncurses handling. Patch submitted in PR 8048
by Thilo Manske <Thilo.Manske@HEH.Uni-Oldenburg.DE>.
Diffstat (limited to 'net')
-rw-r--r-- | net/sniffit/Makefile | 8 | ||||
-rw-r--r-- | net/sniffit/files/patch-sum | 4 | ||||
-rw-r--r-- | net/sniffit/patches/patch-ad | 4 |
3 files changed, 9 insertions, 7 deletions
diff --git a/net/sniffit/Makefile b/net/sniffit/Makefile index 02a2f9e7fe4..b55d4ef2829 100644 --- a/net/sniffit/Makefile +++ b/net/sniffit/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 1999/05/24 20:39:47 tv Exp $ +# $NetBSD: Makefile,v 1.11 1999/07/25 00:36:31 hubertf Exp $ # DISTNAME= sniffit.0.3.5 @@ -11,8 +11,10 @@ HOMEPAGE= http://reptile.rug.ac.be/~coder/sniffit/sniffit.html NOT_FOR_PLATFORM= *-*-alpha # severe LP64 loss -do-build: - cd ${WRKSRC} ; ./configure ; ${MAKE} +DEPENDS= ncurses-4.2:../../devel/ncurses +HAS_CONFIGURE= YES +CONFIGURE_ENV+= NCURSES_LOCATION=$(LOCALBASE)/include/ncurses.h +ALL_TARGET= do-install: ${INSTALL_PROGRAM} ${WRKSRC}/sniffit ${PREFIX}/sbin/sniffit diff --git a/net/sniffit/files/patch-sum b/net/sniffit/files/patch-sum index 7f0b8df796b..7a7c08e798d 100644 --- a/net/sniffit/files/patch-sum +++ b/net/sniffit/files/patch-sum @@ -1,6 +1,6 @@ -$NetBSD: patch-sum,v 1.1 1999/07/09 14:12:28 agc Exp $ +$NetBSD: patch-sum,v 1.2 1999/07/25 00:36:31 hubertf Exp $ MD5 (patch-aa) = 28b163e90241484ffcbe3a77f0a99f54 MD5 (patch-ab) = e4a0d9c74cdcc298912441a91ad06882 MD5 (patch-ac) = 41e1cade6eedf5496b3c09dab5a4f565 -MD5 (patch-ad) = d788ba109524967ee729a3c95b5f74aa +MD5 (patch-ad) = a0b8eb99f84413bad972b537c825a191 diff --git a/net/sniffit/patches/patch-ad b/net/sniffit/patches/patch-ad index 01e724c859b..704fce4f222 100644 --- a/net/sniffit/patches/patch-ad +++ b/net/sniffit/patches/patch-ad @@ -1,4 +1,4 @@ -$NetBSD: patch-ad,v 1.2 1998/08/07 11:10:57 agc Exp $ +$NetBSD: patch-ad,v 1.3 1999/07/25 00:36:32 hubertf Exp $ --- Makefile.in.BAK Mon Mar 30 09:38:19 1998 +++ Makefile.in Mon Mar 30 09:38:50 1998 @@ -10,7 +10,7 @@ $NetBSD: patch-ad,v 1.2 1998/08/07 11:10:57 agc Exp $ +OBJ_OPT = EXE_FLAG = -w -O2 -o sniffit -EXE_OPT = -I./libpcap-0.3 -L./libpcap-0.3 -lpcap -+EXE_OPT = -lpcap ++EXE_OPT = -lpcap $(LDFLAGS) EXE_OBJ = sn_packets.o sn_generation.o sn_interface.o sn_cfgfile.o \ sn_logfile.o DEP_FILES = sn_config.h pcap.h sn_data.h sn_defines.h sn_plugins.h \ |