diff options
author | taca <taca@pkgsrc.org> | 2012-05-07 07:53:28 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2012-05-07 07:53:28 +0000 |
commit | 7082b4edab22114cb9c851c90d529ca385457124 (patch) | |
tree | a14f0873a4827ed36949526fefbfe886b38108f0 /lang/ruby | |
parent | 7dd68a9a04a0cb35143f421648b06fd853f680d8 (diff) | |
download | pkgsrc-7082b4edab22114cb9c851c90d529ca385457124.tar.gz |
Strict RUBY_VERSION_DEFAULT when RUBY_VERSION_SUPPORTED has one word.
Should be fix PR pkg/46420.
Diffstat (limited to 'lang/ruby')
-rw-r--r-- | lang/ruby/rubyversion.mk | 5 |
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) |