diff options
author | pooka <pooka> | 2000-06-25 11:50:32 +0000 |
---|---|---|
committer | pooka <pooka> | 2000-06-25 11:50:32 +0000 |
commit | 4bd965476d40e9fc19f87d7d967e73422fbb275e (patch) | |
tree | c08bf2e3cb8b8e1238da7a62e40857181dc3fe84 /editors/vim/Makefile | |
parent | 97c59f5d13265cae6677ab2d39e66d1873187d51 (diff) | |
download | pkgsrc-4bd965476d40e9fc19f87d7d967e73422fbb275e.tar.gz |
Upgrade vim packages to version 5.7. Use internal curses if possible.
New since version 5.6
---------------------
Not much:
- 19 new syntax files.
- "explorer.vim" script, works like a file browser.
And many bug fixes! This version is aimed at stability.
Diffstat (limited to 'editors/vim/Makefile')
-rw-r--r-- | editors/vim/Makefile | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/editors/vim/Makefile b/editors/vim/Makefile index 31181a43bed..d22ba349717 100644 --- a/editors/vim/Makefile +++ b/editors/vim/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.32 2000/02/18 14:37:43 pooka Exp $ +# $NetBSD: Makefile,v 1.33 2000/06/25 11:50:32 pooka Exp $ .include "../vim-share/Makefile.common" @@ -18,12 +18,26 @@ INSTALL_TARGET= installvimbin .include "../../mk/bsd.prefs.mk" -.if (${OPSYS} == "NetBSD") -DEPENDS+= ncurses>=4.2:../../devel/ncurses -CONFIGURE_ARGS+= --with-tlib=ncurses -.elif ${OPSYS} == "SunOS" +.if ${OPSYS} == "NetBSD" +GOOD_CURSES= 1.4[Y-Z] 1.4Z[A-Z] 1.[5-9]* + +.for PATTERN in ${GOOD_CURSES} +.if ${OS_VERSION:M${PATTERN}} != "" +CURSES_GOOD?= #defined +.endif +.endfor +.endif + +.if ${OPSYS} == "SunOS" +CURSES_GOOD?= #defined +.endif + +.if defined(CURSES_GOOD) CPPFLAGS= CONFIGURE_ARGS+= --with-tlib=curses +.else +DEPENDS+= ncurses>=4.2:../../devel/ncurses +CONFIGURE_ARGS+= --with-tlib=ncurses .endif post-install: |