From bd0ab3fcae30200a0069b42292b973d4240624e5 Mon Sep 17 00:00:00 2001 From: wiz Date: Thu, 29 Nov 2001 23:49:12 +0000 Subject: Buildlinkify. --- net/sniffit/Makefile | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'net') 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" -- cgit v1.2.3