summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/ruby/ruby.inc
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2022-01-11 23:14:40 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-01-12 21:09:02 +0000
commit0089f71043518c31ea190705b0df9138a04a5da1 (patch)
tree61f6d8d33188652612975139c2a0e1dfc7f450e8 /meta/recipes-devtools/ruby/ruby.inc
parentfa7dd5d0460f69b8708353a3f287033fd9455418 (diff)
downloadpoky-0089f71043518c31ea190705b0df9138a04a5da1.tar.gz
ruby: update 3.0.3 -> 3.1.0
Turn on "link external modules statically" option as otherwise ruby installer tries to do additional building inside installed module directories in do_install which fails horribly. License-Update: additional MIT/BSD items (From OE-Core rev: 4d4485442830bb52b152f0419f4ff9f1d581d46a) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/ruby/ruby.inc')
-rw-r--r--meta/recipes-devtools/ruby/ruby.inc9
1 files changed, 2 insertions, 7 deletions
diff --git a/meta/recipes-devtools/ruby/ruby.inc b/meta/recipes-devtools/ruby/ruby.inc
index 2b5caf35f5..20ae15bd7a 100644
--- a/meta/recipes-devtools/ruby/ruby.inc
+++ b/meta/recipes-devtools/ruby/ruby.inc
@@ -10,7 +10,7 @@ LICENSE = "Ruby | BSD-2-Clause | BSD-3-Clause | GPLv2 | ISC | MIT"
10LIC_FILES_CHKSUM = "file://COPYING;md5=5b8c87559868796979806100db3f3805 \ 10LIC_FILES_CHKSUM = "file://COPYING;md5=5b8c87559868796979806100db3f3805 \
11 file://BSDL;md5=8b50bc6de8f586dc66790ba11d064d75 \ 11 file://BSDL;md5=8b50bc6de8f586dc66790ba11d064d75 \
12 file://GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ 12 file://GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
13 file://LEGAL;md5=cfe5b0bc9f051b58c7e78db882ca5f9b \ 13 file://LEGAL;md5=f260190bc1e92e363f0ee3c0463d4c7c \
14 " 14 "
15 15
16DEPENDS = "ruby-native zlib openssl libyaml gdbm readline libffi" 16DEPENDS = "ruby-native zlib openssl libyaml gdbm readline libffi"
@@ -23,7 +23,7 @@ SRC_URI = "http://cache.ruby-lang.org/pub/ruby/${SHRT_VER}/ruby-${PV}.tar.gz \
23 " 23 "
24UPSTREAM_CHECK_URI = "https://www.ruby-lang.org/en/downloads/" 24UPSTREAM_CHECK_URI = "https://www.ruby-lang.org/en/downloads/"
25 25
26inherit autotools ptest 26inherit autotools ptest pkgconfig
27 27
28 28
29# This snippet lets compiled extensions which rely on external libraries, 29# This snippet lets compiled extensions which rely on external libraries,
@@ -37,8 +37,3 @@ do_configure:prepend() {
37 sed -i "s#%%TARGET_CFLAGS%%#$CFLAGS#; s#%%TARGET_LDFLAGS%%#$LDFLAGS#" ${S}/common.mk 37 sed -i "s#%%TARGET_CFLAGS%%#$CFLAGS#; s#%%TARGET_LDFLAGS%%#$LDFLAGS#" ${S}/common.mk
38 rm -rf ${S}/ruby/ 38 rm -rf ${S}/ruby/
39} 39}
40
41# Disable openssl extension until it becomes compatible with openssl 3
42do_configure:prepend() {
43 rm -rf ${S}/ext/openssl/extconf.rb
44}