From a037df4bbcac7aa7fca5de1ef2df27162931d58f Mon Sep 17 00:00:00 2001 From: taca Date: Mon, 7 May 2012 07:53:28 +0000 Subject: Strict RUBY_VERSION_DEFAULT when RUBY_VERSION_SUPPORTED has one word. Should be fix PR pkg/46420. --- lang/ruby/rubyversion.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lang') diff --git a/lang/ruby/rubyversion.mk b/lang/ruby/rubyversion.mk index 26395122cea..777bac83349 100644 --- a/lang/ruby/rubyversion.mk +++ b/lang/ruby/rubyversion.mk @@ -1,4 +1,4 @@ -# $NetBSD: rubyversion.mk,v 1.79 2012/04/22 08:23:00 taca Exp $ +# $NetBSD: rubyversion.mk,v 1.80 2012/05/07 07:53:28 taca Exp $ # # This file determines which Ruby version is used as a dependency for @@ -220,7 +220,8 @@ RUBY_VER?= ${RUBY_VERSION_DEFAULT} # If package support only one version, use it. .if ${RUBY_VERSION_SUPPORTED:[\#]} == 1 -RUBY_VER= ${RUBY_VERSION_SUPPORTED} +RUBY_VER= ${RUBY_VERSION_SUPPORTED} +RUBY_VERSION_DEFAULT= ${RUBY_VERSION_SUPPORTED} .endif .if defined(RUBY_VERSION_REQD) -- cgit v1.2.3