diff options
author | pooka <pooka@pkgsrc.org> | 2000-06-25 11:50:32 +0000 |
---|---|---|
committer | pooka <pooka@pkgsrc.org> | 2000-06-25 11:50:32 +0000 |
commit | d0e460b82d9a62712a80aad73fbbb4dc6c5f265c (patch) | |
tree | c08bf2e3cb8b8e1238da7a62e40857181dc3fe84 /editors/vim-xaw/Makefile | |
parent | d353a8e36385ac4fa1eb181a6322388899ed19dc (diff) | |
download | pkgsrc-d0e460b82d9a62712a80aad73fbbb4dc6c5f265c.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-xaw/Makefile')
-rw-r--r-- | editors/vim-xaw/Makefile | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/editors/vim-xaw/Makefile b/editors/vim-xaw/Makefile index b76d6ecc851..7e90b9e3d37 100644 --- a/editors/vim-xaw/Makefile +++ b/editors/vim-xaw/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2000/02/18 14:37:44 pooka Exp $ +# $NetBSD: Makefile,v 1.7 2000/06/25 11:50:40 pooka Exp $ .include "../vim-share/Makefile.common" @@ -20,12 +20,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 +CONFIGURE_ARGS+= --with-tlib=curses +.else +DEPENDS+= ncurses>=4.2:../../devel/ncurses +CONFIGURE_ARGS+= --with-tlib=ncurses .endif post-install: |