From 8a0d36313726c95caf7226dcc153db7e258f7643 Mon Sep 17 00:00:00 2001 From: Aron Griffis Date: Sun, 25 May 2003 00:38:05 +0000 Subject: fix ruby test in vim.eclass --- eclass/vim.eclass | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'eclass/vim.eclass') diff --git a/eclass/vim.eclass b/eclass/vim.eclass index b2a8b458c99a..46fd9f007957 100644 --- a/eclass/vim.eclass +++ b/eclass/vim.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.28 2003/05/24 02:15:39 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.29 2003/05/25 00:38:05 agriffis Exp $ # Authors: # Ryan Phillips @@ -32,10 +32,10 @@ DEPEND=" # Vim versions after 6.2d should work with Ruby 1.8 because of a local # Gentoo patch; working on putting it upstream (22 May 2003 agriffis) -if [[ "$PV" == 6.2* && "${PV#6.2}" > c ]]; then - DEPEND="${DEPEND} ruby? ( dev-lang/ruby )" -else +if [[ "$PV" < 6.2 || ( "$PV" == 6.2_pre* && "${PV#*pre}" -lt 4 ) ]]; then DEPEND="${DEPEND} ruby? ( =dev-lang/ruby-1.6* )" # 1.8 doesn't work +else + DEPEND="${DEPEND} ruby? ( dev-lang/ruby )" fi apply_vim_patches() { -- cgit v1.2.3-65-gdbad