From 5c6de17670ab01910dcded6edc2c8670c9a62f21 Mon Sep 17 00:00:00 2001 From: jlam Date: Wed, 20 Jun 2001 04:50:23 +0000 Subject: Convert to use buildlink.mk files for ncurses dependency and mark as USE_BUILDLINK_ONLY. --- net/ntop/Makefile | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'net') diff --git a/net/ntop/Makefile b/net/ntop/Makefile index 00de659f971..a45ce983ff6 100644 --- a/net/ntop/Makefile +++ b/net/ntop/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2001/06/11 06:34:46 jlam Exp $ +# $NetBSD: Makefile,v 1.19 2001/06/20 04:50:23 jlam Exp $ DISTNAME= ntop-1.1 PKGNAME= ntop-1.1nb1 @@ -10,18 +10,11 @@ MAINTAINER= kim@tac.nyc.ny.us HOMEPAGE= http://www.ntop.org/ COMMENT= shows network usage (similar to "top" for processes) +USE_BUILDLINK_ONLY= yes GNU_CONFIGURE= yes -USE_CURSES= yes -REPLACE_NCURSES= ${WRKSRC}/configure ${WRKSRC}/ntop.h CONFIGURE_ARGS+= --enable-threads=no INSTALL_TARGET= install install-man -.include "../../mk/bsd.prefs.mk" - -.if ${NEED_NCURSES} == "YES" -CPPFLAGS+= -I${LOCALBASE}/include # for ncurses.h -LDFLAGS+= -L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib -.endif - +.include "../../devel/ncurses/buildlink.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3