diff options
author | wiz <wiz@pkgsrc.org> | 2001-01-07 01:48:19 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2001-01-07 01:48:19 +0000 |
commit | 5c752750f76b259a2d0e010d3dd4cd892c1524d2 (patch) | |
tree | 2c6df9710c5e1b1df74fe1f40c6633ce07186bf8 | |
parent | d9272f7dbd41db4b820f1146b03544673a7ace7d (diff) | |
download | pkgsrc-5c752750f76b259a2d0e010d3dd4cd892c1524d2.tar.gz |
USE_CURSES instead of hard dependency on ncurses.
-rw-r--r-- | editors/vile/Makefile | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/editors/vile/Makefile b/editors/vile/Makefile index 452682d6e13..311f169be75 100644 --- a/editors/vile/Makefile +++ b/editors/vile/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2000/09/06 08:16:14 jlam Exp $ +# $NetBSD: Makefile,v 1.21 2001/01/07 01:48:19 wiz Exp $ # FreeBSD Id: Makefile,v 1.13 1997/09/06 19:55:09 gj Exp DISTNAME= vile-9.0 @@ -11,6 +11,7 @@ EXTRACT_SUFX= .tgz MAINTAINER= packages@netbsd.org USE_PERL5= # defined +USE_CURSES= # defined GNU_CONFIGURE= # defined CONFIGURE_ARGS+= --with-perl @@ -29,14 +30,6 @@ DATADIR= ${PREFIX}/share/vile FILTERDIR= ${PREFIX}/libexec/vile EGDIR= ${PREFIX}/share/examples/vile -.include "../../mk/bsd.prefs.mk" - -.if ${OPSYS} == "NetBSD" -DEPENDS+= ncurses>=4.2:../../devel/ncurses -CPPFLAGS+= -DHAVE_NCURSES_H -CONFIGURE_ARGS+= --with-screen=ncurses -.endif - post-install: @${INSTALL_SCRIPT} ${WRKSRC}/perl/vileget ${PREFIX}/bin/vileget @${INSTALL_DATA_DIR} ${EGDIR} @@ -46,4 +39,11 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/$$f ${EGDIR}; \ done +.include "../../mk/bsd.prefs.mk" + +.if ${NEED_NCURSES} == "YES" +CPPFLAGS+= -DHAVE_NCURSES_H +CONFIGURE_ARGS+= --with-screen=ncurses +.endif + .include "../../mk/bsd.pkg.mk" |