Skip to content

Commit

Permalink
Add proper ncurses handling. Patch submitted in PR 8048
Browse files Browse the repository at this point in the history
by Thilo Manske <[email protected]>.
  • Loading branch information
hubertf committed Jul 25, 1999
1 parent bab9165 commit f4925f5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
8 changes: 5 additions & 3 deletions net/sniffit/Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions net/sniffit/files/patch-sum
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions net/sniffit/patches/patch-ad
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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 \
Expand Down

0 comments on commit f4925f5

Please sign in to comment.