summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authortaca <taca>2012-05-07 07:53:28 +0000
committertaca <taca>2012-05-07 07:53:28 +0000
commita037df4bbcac7aa7fca5de1ef2df27162931d58f (patch)
treea14f0873a4827ed36949526fefbfe886b38108f0 /lang
parent925120c6475f246e22f3f7a48609b67caff09600 (diff)
downloadpkgsrc-a037df4bbcac7aa7fca5de1ef2df27162931d58f.tar.gz
Strict RUBY_VERSION_DEFAULT when RUBY_VERSION_SUPPORTED has one word.
Should be fix PR pkg/46420.
Diffstat (limited to 'lang')
-rw-r--r--lang/ruby/rubyversion.mk5
1 files changed, 3 insertions, 2 deletions
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)