summaryrefslogtreecommitdiff
path: root/editors/vim
diff options
context:
space:
mode:
authorpooka <pooka@pkgsrc.org>2000-06-25 11:50:32 +0000
committerpooka <pooka@pkgsrc.org>2000-06-25 11:50:32 +0000
commitd0e460b82d9a62712a80aad73fbbb4dc6c5f265c (patch)
treec08bf2e3cb8b8e1238da7a62e40857181dc3fe84 /editors/vim
parentd353a8e36385ac4fa1eb181a6322388899ed19dc (diff)
downloadpkgsrc-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')
-rw-r--r--editors/vim/Makefile24
-rw-r--r--editors/vim/files/patch-sum5
2 files changed, 21 insertions, 8 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:
diff --git a/editors/vim/files/patch-sum b/editors/vim/files/patch-sum
index 7cf88a08943..88a1d021a69 100644
--- a/editors/vim/files/patch-sum
+++ b/editors/vim/files/patch-sum
@@ -1,4 +1,3 @@
-$NetBSD: patch-sum,v 1.9 2000/01/17 17:36:35 pooka Exp $
+$NetBSD: patch-sum,v 1.10 2000/06/25 11:50:34 pooka Exp $
-MD5 (patch-za) = e53e72a98abbb723d60c03b8bf1fc55d
-MD5 (patch-zb) = 221296b5d4e7413473f9cc4098a611fd
+MD5 (patch-zb) = 7bfdfff0821780edc31108e66e566216