diff options
author | wiz <wiz@pkgsrc.org> | 2001-01-08 14:59:18 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2001-01-08 14:59:18 +0000 |
commit | b659c3fd3a6d9ccd470662933b05c3ffb8498c65 (patch) | |
tree | e97c52fb7c5be53a91108e091a7fbc5f8836d135 /net/sniffit/Makefile | |
parent | bb5867ae67ad36ac1df9e12ad0fd37f384c7b490 (diff) | |
download | pkgsrc-b659c3fd3a6d9ccd470662933b05c3ffb8498c65.tar.gz |
USE_CURSES instead of DEPENDS on ncurses.
Diffstat (limited to 'net/sniffit/Makefile')
-rw-r--r-- | net/sniffit/Makefile | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/net/sniffit/Makefile b/net/sniffit/Makefile index 3fdc344ef1e..f0ed6a5282c 100644 --- a/net/sniffit/Makefile +++ b/net/sniffit/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2000/01/15 18:46:33 jlam Exp $ +# $NetBSD: Makefile,v 1.14 2001/01/08 14:59:18 wiz Exp $ # DISTNAME= sniffit.0.3.5 @@ -9,12 +9,12 @@ MASTER_SITES= http://reptile.rug.ac.be/~coder/sniffit/files/ MAINTAINER= packages@netbsd.org HOMEPAGE= http://reptile.rug.ac.be/~coder/sniffit/sniffit.html -DEPENDS= ncurses>=4.2:../../devel/ncurses - NOT_FOR_PLATFORM= *-*-alpha # severe LP64 loss +USE_CURSES= yes +REPLACE_NCURSES= ${WRKSRC}/configure + HAS_CONFIGURE= YES -CONFIGURE_ENV+= NCURSES_LOCATION=${LOCALBASE}/include/ncurses.h ALL_TARGET= do-install: @@ -22,4 +22,12 @@ 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 "../../mk/bsd.pkg.mk" |