summaryrefslogtreecommitdiff
path: root/editors/bvi
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-01-08 16:09:09 +0000
committerwiz <wiz@pkgsrc.org>2001-01-08 16:09:09 +0000
commit9fa64090e3af17481061e19aa464e57f425320db (patch)
tree2c01cfe199b0fb6b6b48d17734aa9501d8e1ea3c /editors/bvi
parent9203ccc3a79522ca8c5c1b9493f35f00d8a56c9b (diff)
downloadpkgsrc-9fa64090e3af17481061e19aa464e57f425320db.tar.gz
USE_CURSES, not DEPENDS on ncurses.
Diffstat (limited to 'editors/bvi')
-rw-r--r--editors/bvi/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/editors/bvi/Makefile b/editors/bvi/Makefile
index 1557e0eee57..b68c68455dd 100644
--- a/editors/bvi/Makefile
+++ b/editors/bvi/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2000/04/23 21:35:55 mbw Exp $
+# $NetBSD: Makefile,v 1.5 2001/01/08 16:09:09 wiz Exp $
#
DISTNAME= bvi-1.2.0.src
@@ -10,16 +10,17 @@ MAINTAINER= sakamoto@netbsd.org
HOMEPAGE= http://bvi.linuxave.net/
GNU_CONFIGURE= YES
-CONFIGURE_ENV+= CFLAGS="-I${LOCALBASE}/include" \
- CPPFLAGS="-I${LOCALBASE}/include"
+USE_CURSES= YES
+REPLACE_NCURSES= ${WRKSRC}/configure
MAKE_ENV+= SHELL=${SH}
WRKSRC= ${WRKDIR}/${PKGNAME}
.include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} == "NetBSD"
-DEPENDS+= ncurses>=4.2:../../devel/ncurses
+.if ${NEED_NCURSES} == "YES"
+CONFIGURE_ENV+= CFLAGS="-I${LOCALBASE}/include" \
+ CPPFLAGS="-I${LOCALBASE}/include"
.endif
.include "../../mk/bsd.pkg.mk"