diff options
Diffstat (limited to 'editors/vim-gtk')
-rw-r--r-- | editors/vim-gtk/Makefile | 24 | ||||
-rw-r--r-- | editors/vim-gtk/files/patch-sum | 5 |
2 files changed, 21 insertions, 8 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: diff --git a/editors/vim-gtk/files/patch-sum b/editors/vim-gtk/files/patch-sum index 617017a9a50..68389708194 100644 --- a/editors/vim-gtk/files/patch-sum +++ b/editors/vim-gtk/files/patch-sum @@ -1,5 +1,4 @@ -$NetBSD: patch-sum,v 1.4 2000/01/17 17:36:35 pooka Exp $ +$NetBSD: patch-sum,v 1.5 2000/06/25 11:50:35 pooka Exp $ MD5 (patch-aa) = 97cd1d6e7839e794826a32d477314554 -MD5 (patch-za) = e53e72a98abbb723d60c03b8bf1fc55d -MD5 (patch-zb) = 221296b5d4e7413473f9cc4098a611fd +MD5 (patch-zb) = 7bfdfff0821780edc31108e66e566216 |