summaryrefslogtreecommitdiff
path: root/recipes/ruby/ruby.inc
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-06-19 10:02:31 +0200
committerKoen Kooi <koen@openembedded.org>2009-06-19 10:02:31 +0200
commitfab2a49c1a2679bc92e62cba0a0a0c65ae032cac (patch)
tree42df9f150b9310e9fb111c28faf4923a2a3c0ff6 /recipes/ruby/ruby.inc
parent31d6afe558939ef10ab7678a6f398ed57e53d072 (diff)
parent036881b90919d04089d418067d076f391d82ea29 (diff)
Merge branch 'org.openembedded.dev' of git@git.openembedded.org:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/ruby/ruby.inc')
-rw-r--r--recipes/ruby/ruby.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes/ruby/ruby.inc b/recipes/ruby/ruby.inc
index 978bf4b229..4fdfdca976 100644
--- a/recipes/ruby/ruby.inc
+++ b/recipes/ruby/ruby.inc
@@ -4,7 +4,8 @@ SECTION = "devel/ruby"
PRIORITY = "optional"
LICENSE = "GPL"
-SRC_URI = "ftp://ftp.ruby-lang.org/pub/ruby/ruby-${PV}.tar.gz \
+SHRT_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"
+SRC_URI = "ftp://ftp.ruby-lang.org/pub/ruby/${SHRT_VER}/ruby-${PV}.tar.gz \
file://extmk_run.patch;patch=1 \
file://openssl.patch;patch=1 \
file://disable_wide_getaddrinfo_check.patch;patch=1"