summaryrefslogtreecommitdiff
path: root/net/sniffit
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-11-29 23:49:12 +0000
committerwiz <wiz@pkgsrc.org>2001-11-29 23:49:12 +0000
commit33d7fef901fa98a7ee8b42328638cd3766d224ff (patch)
tree3919957f398705376768e3c219dbcac3b347bd28 /net/sniffit
parent8457cdbc38cc321dd144562a58a8aff24f96f363 (diff)
downloadpkgsrc-33d7fef901fa98a7ee8b42328638cd3766d224ff.tar.gz
Buildlinkify.
Diffstat (limited to 'net/sniffit')
-rw-r--r--net/sniffit/Makefile15
1 files changed, 3 insertions, 12 deletions
diff --git a/net/sniffit/Makefile b/net/sniffit/Makefile
index 7b9c15342ad..9a2e99cd887 100644
--- a/net/sniffit/Makefile
+++ b/net/sniffit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2001/02/17 18:19:37 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2001/11/29 23:49:12 wiz Exp $
#
DISTNAME= sniffit.0.3.5
@@ -12,10 +12,8 @@ COMMENT= Packet sniffer program
NOT_FOR_PLATFORM= *-*-alpha # severe LP64 loss
-USE_CURSES= yes
-REPLACE_NCURSES= ${WRKSRC}/configure
-
HAS_CONFIGURE= YES
+USE_BUILDLINK_ONLY= YES
ALL_TARGET=
do-install:
@@ -23,12 +21,5 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/sniffit.5 ${PREFIX}/man/man5
${INSTALL_MAN} ${WRKSRC}/sniffit.8 ${PREFIX}/man/man8
-.include "../../mk/bsd.prefs.mk"
-
-.if ${NEED_NCURSES} == "YES"
-CONFIGURE_ENV+= NCURSES_LOCATION=${LOCALBASE}/include/ncurses.h
-.else
-CONFIGURE_ENV+= NCURSES_LOCATION=no
-.endif
-
+.include "../../devel/ncurses/buildlink.mk"
.include "../../mk/bsd.pkg.mk"