diff options
author | pooka <pooka> | 2000-06-25 11:50:32 +0000 |
---|---|---|
committer | pooka <pooka> | 2000-06-25 11:50:32 +0000 |
commit | 026dcd784931185f8e58f82e7f2258cee1de0143 (patch) | |
tree | c08bf2e3cb8b8e1238da7a62e40857181dc3fe84 /editors/vim-gtk/Makefile | |
parent | 65b9c31c5d58607e4b271c45d58ebc8876cd70c2 (diff) | |
download | pkgsrc-026dcd784931185f8e58f82e7f2258cee1de0143.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-gtk/Makefile')
-rw-r--r-- | editors/vim-gtk/Makefile | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/editors/vim-gtk/Makefile b/editors/vim-gtk/Makefile index 5186a666170..0ba932dd201 100644 --- a/editors/vim-gtk/Makefile +++ b/editors/vim-gtk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2000/02/15 16:08:23 agc Exp $ +# $NetBSD: Makefile,v 1.16 2000/06/25 11:50:34 pooka Exp $ .include "../vim-share/Makefile.common" @@ -23,11 +23,25 @@ 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" +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 +CONFIGURE_ARGS+= --with-tlib=curses +.else +DEPENDS+= ncurses>=4.2:../../devel/ncurses +CONFIGURE_ARGS+= --with-tlib=ncurses .endif post-install: |