diff options
| author | Alexander Kanavin <alex@linutronix.de> | 2025-01-08 09:42:21 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-01-10 11:10:00 +0000 |
| commit | 6aee2f029a15e1ddb472c53fd6c089a631f02af1 (patch) | |
| tree | 2d203b0205119a6a1aa7f3b8768a1285c05cd243 | |
| parent | defeea4c2ef3f75f13700070e3a78df6a0dfbef6 (diff) | |
| download | poky-6aee2f029a15e1ddb472c53fd6c089a631f02af1.tar.gz | |
ruby: update 3.3.6 -> 3.4.1
License-update: formatting
Exclude aclocal, as aclocal.m4 is hand-maintained
(similar to recent tweaks elsewhere in core).
Find rbconfig.rb directly in ${D}, as grepping ruby's
internal file produces bogus results now.
(From OE-Core rev: f395c84d460acc44c633a6819efac68ca7829e6c)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 files changed, 36 insertions, 36 deletions
diff --git a/meta/recipes-devtools/ruby/ruby/0001-extmk-fix-cross-compilation-of-external-gems.patch b/meta/recipes-devtools/ruby/ruby/0001-extmk-fix-cross-compilation-of-external-gems.patch index bd8f736247..f17970e9c9 100644 --- a/meta/recipes-devtools/ruby/ruby/0001-extmk-fix-cross-compilation-of-external-gems.patch +++ b/meta/recipes-devtools/ruby/ruby/0001-extmk-fix-cross-compilation-of-external-gems.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From b74950d4f06bbfb91b2e68044147a226c15f4639 Mon Sep 17 00:00:00 2001 | 1 | From 03700ec256789e02de20b58bca080c6fef592336 Mon Sep 17 00:00:00 2001 |
| 2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> | 2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> |
| 3 | Date: Mon, 30 Sep 2019 16:57:01 +0100 | 3 | Date: Mon, 30 Sep 2019 16:57:01 +0100 |
| 4 | Subject: [PATCH] extmk: fix cross-compilation of external gems | 4 | Subject: [PATCH] extmk: fix cross-compilation of external gems |
| @@ -16,10 +16,10 @@ Signed-off-by: André Draszik <andre.draszik@jci.com> | |||
| 16 | 1 file changed, 1 insertion(+), 1 deletion(-) | 16 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 17 | 17 | ||
| 18 | diff --git a/ext/extmk.rb b/ext/extmk.rb | 18 | diff --git a/ext/extmk.rb b/ext/extmk.rb |
| 19 | index d9c2417..da14c49 100755 | 19 | index 8b6b365..3048f75 100755 |
| 20 | --- a/ext/extmk.rb | 20 | --- a/ext/extmk.rb |
| 21 | +++ b/ext/extmk.rb | 21 | +++ b/ext/extmk.rb |
| 22 | @@ -428,8 +428,8 @@ else | 22 | @@ -434,8 +434,8 @@ else |
| 23 | end | 23 | end |
| 24 | $ruby = [$ruby] | 24 | $ruby = [$ruby] |
| 25 | $ruby << "-I'$(topdir)'" | 25 | $ruby << "-I'$(topdir)'" |
diff --git a/meta/recipes-devtools/ruby/ruby/0001-vm_dump.c-Define-REG_S1-and-REG_S2-for-musl-riscv.patch b/meta/recipes-devtools/ruby/ruby/0001-vm_dump.c-Define-REG_S1-and-REG_S2-for-musl-riscv.patch index bc1744da82..799324caea 100644 --- a/meta/recipes-devtools/ruby/ruby/0001-vm_dump.c-Define-REG_S1-and-REG_S2-for-musl-riscv.patch +++ b/meta/recipes-devtools/ruby/ruby/0001-vm_dump.c-Define-REG_S1-and-REG_S2-for-musl-riscv.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From f4edf72c76bc06fa92c61f6cb9163cc777912a1f Mon Sep 17 00:00:00 2001 | 1 | From f992d781e05b61489bdf5a2a9aee6cc616f1742a Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Tue, 25 Jan 2022 20:29:14 -0800 | 3 | Date: Tue, 25 Jan 2022 20:29:14 -0800 |
| 4 | Subject: [PATCH] vm_dump.c: Define REG_S1 and REG_S2 for musl/riscv | 4 | Subject: [PATCH] vm_dump.c: Define REG_S1 and REG_S2 for musl/riscv |
| @@ -14,10 +14,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
| 14 | 1 file changed, 5 insertions(+) | 14 | 1 file changed, 5 insertions(+) |
| 15 | 15 | ||
| 16 | diff --git a/vm_dump.c b/vm_dump.c | 16 | diff --git a/vm_dump.c b/vm_dump.c |
| 17 | index 444be4a..8a081a7 100644 | 17 | index 5873e52..9eb4db1 100644 |
| 18 | --- a/vm_dump.c | 18 | --- a/vm_dump.c |
| 19 | +++ b/vm_dump.c | 19 | +++ b/vm_dump.c |
| 20 | @@ -39,6 +39,11 @@ | 20 | @@ -40,6 +40,11 @@ |
| 21 | 21 | ||
| 22 | #define MAX_POSBUF 128 | 22 | #define MAX_POSBUF 128 |
| 23 | 23 | ||
diff --git a/meta/recipes-devtools/ruby/ruby/0002-Obey-LDFLAGS-for-the-link-of-libruby.patch b/meta/recipes-devtools/ruby/ruby/0002-Obey-LDFLAGS-for-the-link-of-libruby.patch index 6f95685917..bb67df0f40 100644 --- a/meta/recipes-devtools/ruby/ruby/0002-Obey-LDFLAGS-for-the-link-of-libruby.patch +++ b/meta/recipes-devtools/ruby/ruby/0002-Obey-LDFLAGS-for-the-link-of-libruby.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From e6267676addd27f3c02667116185211d711ef940 Mon Sep 17 00:00:00 2001 | 1 | From 7e2337d8b0daf264785cb06d1d6c7d61e428a11b Mon Sep 17 00:00:00 2001 |
| 2 | From: Christopher Larson <chris_larson@mentor.com> | 2 | From: Christopher Larson <chris_larson@mentor.com> |
| 3 | Date: Thu, 5 May 2016 10:59:07 -0700 | 3 | Date: Thu, 5 May 2016 10:59:07 -0700 |
| 4 | Subject: [PATCH] Obey LDFLAGS for the link of libruby | 4 | Subject: [PATCH] Obey LDFLAGS for the link of libruby |
| @@ -10,10 +10,10 @@ Upstream-Status: Pending | |||
| 10 | 1 file changed, 1 insertion(+), 1 deletion(-) | 10 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 11 | 11 | ||
| 12 | diff --git a/template/Makefile.in b/template/Makefile.in | 12 | diff --git a/template/Makefile.in b/template/Makefile.in |
| 13 | index 8c462f2..2200c8c 100644 | 13 | index 05432cd..41a05bb 100644 |
| 14 | --- a/template/Makefile.in | 14 | --- a/template/Makefile.in |
| 15 | +++ b/template/Makefile.in | 15 | +++ b/template/Makefile.in |
| 16 | @@ -115,7 +115,7 @@ ENABLE_SHARED = @ENABLE_SHARED@ | 16 | @@ -119,7 +119,7 @@ ENABLE_SHARED = @ENABLE_SHARED@ |
| 17 | LDSHARED = @LIBRUBY_LDSHARED@ | 17 | LDSHARED = @LIBRUBY_LDSHARED@ |
| 18 | DLDSHARED = @DLDSHARED@ | 18 | DLDSHARED = @DLDSHARED@ |
| 19 | XDLDFLAGS = @DLDFLAGS@ | 19 | XDLDFLAGS = @DLDFLAGS@ |
diff --git a/meta/recipes-devtools/ruby/ruby/0003-rdoc-build-reproducible-documentation.patch b/meta/recipes-devtools/ruby/ruby/0003-rdoc-build-reproducible-documentation.patch index abbbd35702..87a1e82516 100644 --- a/meta/recipes-devtools/ruby/ruby/0003-rdoc-build-reproducible-documentation.patch +++ b/meta/recipes-devtools/ruby/ruby/0003-rdoc-build-reproducible-documentation.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 09a6df0d32e2177406ed391e536c0c7c4b503c5d Mon Sep 17 00:00:00 2001 | 1 | From 98071c0b28a45cd21a2cbe6746ce39067932b62f Mon Sep 17 00:00:00 2001 |
| 2 | From: Christian Hofstaedtler <zeha@debian.org> | 2 | From: Christian Hofstaedtler <zeha@debian.org> |
| 3 | Date: Tue, 10 Oct 2017 15:04:34 -0300 | 3 | Date: Tue, 10 Oct 2017 15:04:34 -0300 |
| 4 | Subject: [PATCH] rdoc: build reproducible documentation | 4 | Subject: [PATCH] rdoc: build reproducible documentation |
diff --git a/meta/recipes-devtools/ruby/ruby/0004-lib-mkmf.rb-sort-list-of-object-files-in-generated-M.patch b/meta/recipes-devtools/ruby/ruby/0004-lib-mkmf.rb-sort-list-of-object-files-in-generated-M.patch index f08aaf555f..4b6771fd26 100644 --- a/meta/recipes-devtools/ruby/ruby/0004-lib-mkmf.rb-sort-list-of-object-files-in-generated-M.patch +++ b/meta/recipes-devtools/ruby/ruby/0004-lib-mkmf.rb-sort-list-of-object-files-in-generated-M.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From f491fff7d006954c1c51eb7a513a85bdbab0fe5a Mon Sep 17 00:00:00 2001 | 1 | From 0887facc4ca5bcb0280b025b35bbc18528e52914 Mon Sep 17 00:00:00 2001 |
| 2 | From: Reiner Herrmann <reiner@reiner-h.de> | 2 | From: Reiner Herrmann <reiner@reiner-h.de> |
| 3 | Date: Tue, 10 Oct 2017 15:06:13 -0300 | 3 | Date: Tue, 10 Oct 2017 15:06:13 -0300 |
| 4 | Subject: [PATCH] lib/mkmf.rb: sort list of object files in generated Makefile | 4 | Subject: [PATCH] lib/mkmf.rb: sort list of object files in generated Makefile |
| @@ -17,10 +17,10 @@ Signed-off-by: Reiner Herrmann <reiner@reiner-h.de> | |||
| 17 | 1 file changed, 1 insertion(+), 1 deletion(-) | 17 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 18 | 18 | ||
| 19 | diff --git a/lib/mkmf.rb b/lib/mkmf.rb | 19 | diff --git a/lib/mkmf.rb b/lib/mkmf.rb |
| 20 | index 6da7dde..3af30a9 100644 | 20 | index 768a152..f16cdd8 100644 |
| 21 | --- a/lib/mkmf.rb | 21 | --- a/lib/mkmf.rb |
| 22 | +++ b/lib/mkmf.rb | 22 | +++ b/lib/mkmf.rb |
| 23 | @@ -2368,7 +2368,7 @@ LOCAL_LIBS = #{$LOCAL_LIBS} | 23 | @@ -2480,7 +2480,7 @@ LOCAL_LIBS = #{$LOCAL_LIBS} |
| 24 | LIBS = #{$LIBRUBYARG} #{$libs} #{$LIBS} | 24 | LIBS = #{$LIBRUBYARG} #{$libs} #{$LIBS} |
| 25 | ORIG_SRCS = #{orig_srcs.collect(&File.method(:basename)).join(' ')} | 25 | ORIG_SRCS = #{orig_srcs.collect(&File.method(:basename)).join(' ')} |
| 26 | SRCS = $(ORIG_SRCS) #{(srcs - orig_srcs).collect(&File.method(:basename)).join(' ')} | 26 | SRCS = $(ORIG_SRCS) #{(srcs - orig_srcs).collect(&File.method(:basename)).join(' ')} |
diff --git a/meta/recipes-devtools/ruby/ruby/0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch b/meta/recipes-devtools/ruby/ruby/0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch index 248158b6dc..eda45dd862 100644 --- a/meta/recipes-devtools/ruby/ruby/0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch +++ b/meta/recipes-devtools/ruby/ruby/0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From d2376d94b4d285062b67803dc3278d58c14a5297 Mon Sep 17 00:00:00 2001 | 1 | From ff25f6dddcfbbb7b0464485bb5132458866ab51a Mon Sep 17 00:00:00 2001 |
| 2 | From: Lucas Kanashiro <kanashiro@debian.org> | 2 | From: Lucas Kanashiro <kanashiro@debian.org> |
| 3 | Date: Fri, 1 Nov 2019 15:25:17 -0300 | 3 | Date: Fri, 1 Nov 2019 15:25:17 -0300 |
| 4 | Subject: [PATCH] Make gemspecs reproducible | 4 | Subject: [PATCH] Make gemspecs reproducible |
| @@ -12,10 +12,10 @@ Upstream-Status: Backport [debian] | |||
| 12 | 1 file changed, 3 insertions(+), 1 deletion(-) | 12 | 1 file changed, 3 insertions(+), 1 deletion(-) |
| 13 | 13 | ||
| 14 | diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb | 14 | diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb |
| 15 | index e438669..3ce9af8 100644 | 15 | index 8f353ae..095125f 100644 |
| 16 | --- a/lib/rubygems/specification.rb | 16 | --- a/lib/rubygems/specification.rb |
| 17 | +++ b/lib/rubygems/specification.rb | 17 | +++ b/lib/rubygems/specification.rb |
| 18 | @@ -1707,7 +1707,9 @@ class Gem::Specification < Gem::BasicSpecification | 18 | @@ -1711,7 +1711,9 @@ class Gem::Specification < Gem::BasicSpecification |
| 19 | raise(Gem::InvalidSpecificationException, | 19 | raise(Gem::InvalidSpecificationException, |
| 20 | "invalid date format in specification: #{date.inspect}") | 20 | "invalid date format in specification: #{date.inspect}") |
| 21 | end | 21 | end |
diff --git a/meta/recipes-devtools/ruby/ruby/0006-Make-gemspecs-reproducible.patch b/meta/recipes-devtools/ruby/ruby/0006-Make-gemspecs-reproducible.patch index 8a1daba7bd..121bdcf3ab 100644 --- a/meta/recipes-devtools/ruby/ruby/0006-Make-gemspecs-reproducible.patch +++ b/meta/recipes-devtools/ruby/ruby/0006-Make-gemspecs-reproducible.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 42f8019e62f392f5bc09c25e90cc63123eb764fe Mon Sep 17 00:00:00 2001 | 1 | From d58bdaca3d5379afcb954bb57c690c7736807ec5 Mon Sep 17 00:00:00 2001 |
| 2 | From: Lucas Kanashiro <kanashiro@debian.org> | 2 | From: Lucas Kanashiro <kanashiro@debian.org> |
| 3 | Date: Fri, 1 Nov 2019 15:25:17 -0300 | 3 | Date: Fri, 1 Nov 2019 15:25:17 -0300 |
| 4 | Subject: [PATCH] Make gemspecs reproducible | 4 | Subject: [PATCH] Make gemspecs reproducible |
| @@ -8,17 +8,17 @@ build unreproducible | |||
| 8 | 8 | ||
| 9 | Upstream-Status: Backport [debian] | 9 | Upstream-Status: Backport [debian] |
| 10 | --- | 10 | --- |
| 11 | ext/bigdecimal/bigdecimal.gemspec | 1 + | 11 | .bundle/gems/bigdecimal-3.1.8/bigdecimal.gemspec | 1 + |
| 12 | ext/fiddle/fiddle.gemspec | 1 + | 12 | ext/fiddle/fiddle.gemspec | 1 + |
| 13 | ext/io/console/io-console.gemspec | 1 + | 13 | ext/io/console/io-console.gemspec | 1 + |
| 14 | lib/ipaddr.gemspec | 1 + | 14 | lib/ipaddr.gemspec | 1 + |
| 15 | lib/rdoc/rdoc.gemspec | 1 + | 15 | lib/rdoc/rdoc.gemspec | 1 + |
| 16 | 5 files changed, 5 insertions(+) | 16 | 5 files changed, 5 insertions(+) |
| 17 | 17 | ||
| 18 | diff --git a/ext/bigdecimal/bigdecimal.gemspec b/ext/bigdecimal/bigdecimal.gemspec | 18 | diff --git a/.bundle/gems/bigdecimal-3.1.8/bigdecimal.gemspec b/.bundle/gems/bigdecimal-3.1.8/bigdecimal.gemspec |
| 19 | index f9f3b45..b9a469d 100644 | 19 | index b6ef8fd..596b8bb 100644 |
| 20 | --- a/ext/bigdecimal/bigdecimal.gemspec | 20 | --- a/.bundle/gems/bigdecimal-3.1.8/bigdecimal.gemspec |
| 21 | +++ b/ext/bigdecimal/bigdecimal.gemspec | 21 | +++ b/.bundle/gems/bigdecimal-3.1.8/bigdecimal.gemspec |
| 22 | @@ -14,6 +14,7 @@ Gem::Specification.new do |s| | 22 | @@ -14,6 +14,7 @@ Gem::Specification.new do |s| |
| 23 | s.name = name | 23 | s.name = name |
| 24 | s.version = source_version | 24 | s.version = source_version |
| @@ -28,7 +28,7 @@ index f9f3b45..b9a469d 100644 | |||
| 28 | 28 | ||
| 29 | s.summary = "Arbitrary-precision decimal floating-point number library." | 29 | s.summary = "Arbitrary-precision decimal floating-point number library." |
| 30 | diff --git a/ext/fiddle/fiddle.gemspec b/ext/fiddle/fiddle.gemspec | 30 | diff --git a/ext/fiddle/fiddle.gemspec b/ext/fiddle/fiddle.gemspec |
| 31 | index 8781093..efdca32 100644 | 31 | index 0092f52..f77c224 100644 |
| 32 | --- a/ext/fiddle/fiddle.gemspec | 32 | --- a/ext/fiddle/fiddle.gemspec |
| 33 | +++ b/ext/fiddle/fiddle.gemspec | 33 | +++ b/ext/fiddle/fiddle.gemspec |
| 34 | @@ -8,6 +8,7 @@ end | 34 | @@ -8,6 +8,7 @@ end |
| @@ -40,10 +40,10 @@ index 8781093..efdca32 100644 | |||
| 40 | spec.email = ["aaron@tenderlovemaking.com", "hsbt@ruby-lang.org"] | 40 | spec.email = ["aaron@tenderlovemaking.com", "hsbt@ruby-lang.org"] |
| 41 | 41 | ||
| 42 | diff --git a/ext/io/console/io-console.gemspec b/ext/io/console/io-console.gemspec | 42 | diff --git a/ext/io/console/io-console.gemspec b/ext/io/console/io-console.gemspec |
| 43 | index d4f5276..8f89611 100644 | 43 | index 0a19992..4a80529 100644 |
| 44 | --- a/ext/io/console/io-console.gemspec | 44 | --- a/ext/io/console/io-console.gemspec |
| 45 | +++ b/ext/io/console/io-console.gemspec | 45 | +++ b/ext/io/console/io-console.gemspec |
| 46 | @@ -4,6 +4,7 @@ _VERSION = "0.7.1" | 46 | @@ -12,6 +12,7 @@ end |
| 47 | Gem::Specification.new do |s| | 47 | Gem::Specification.new do |s| |
| 48 | s.name = "io-console" | 48 | s.name = "io-console" |
| 49 | s.version = _VERSION | 49 | s.version = _VERSION |
| @@ -52,7 +52,7 @@ index d4f5276..8f89611 100644 | |||
| 52 | s.email = "nobu@ruby-lang.org" | 52 | s.email = "nobu@ruby-lang.org" |
| 53 | s.description = "add console capabilities to IO instances." | 53 | s.description = "add console capabilities to IO instances." |
| 54 | diff --git a/lib/ipaddr.gemspec b/lib/ipaddr.gemspec | 54 | diff --git a/lib/ipaddr.gemspec b/lib/ipaddr.gemspec |
| 55 | index 1f4798e..48743cf 100644 | 55 | index 5719f83..fe76260 100644 |
| 56 | --- a/lib/ipaddr.gemspec | 56 | --- a/lib/ipaddr.gemspec |
| 57 | +++ b/lib/ipaddr.gemspec | 57 | +++ b/lib/ipaddr.gemspec |
| 58 | @@ -18,6 +18,7 @@ end | 58 | @@ -18,6 +18,7 @@ end |
| @@ -64,7 +64,7 @@ index 1f4798e..48743cf 100644 | |||
| 64 | spec.email = ["knu@idaemons.org", "ume@mahoroba.org"] | 64 | spec.email = ["knu@idaemons.org", "ume@mahoroba.org"] |
| 65 | 65 | ||
| 66 | diff --git a/lib/rdoc/rdoc.gemspec b/lib/rdoc/rdoc.gemspec | 66 | diff --git a/lib/rdoc/rdoc.gemspec b/lib/rdoc/rdoc.gemspec |
| 67 | index 93a281c..cc5c155 100644 | 67 | index 3144df5..65c313f 100644 |
| 68 | --- a/lib/rdoc/rdoc.gemspec | 68 | --- a/lib/rdoc/rdoc.gemspec |
| 69 | +++ b/lib/rdoc/rdoc.gemspec | 69 | +++ b/lib/rdoc/rdoc.gemspec |
| 70 | @@ -7,6 +7,7 @@ end | 70 | @@ -7,6 +7,7 @@ end |
diff --git a/meta/recipes-devtools/ruby/ruby_3.3.6.bb b/meta/recipes-devtools/ruby/ruby_3.4.1.bb index 6751b36a44..09415a3132 100644 --- a/meta/recipes-devtools/ruby/ruby_3.3.6.bb +++ b/meta/recipes-devtools/ruby/ruby_3.4.1.bb | |||
| @@ -10,7 +10,7 @@ LICENSE = "Ruby | BSD-2-Clause | BSD-3-Clause | GPL-2.0-only | ISC | MIT" | |||
| 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=5b8c87559868796979806100db3f3805 \ | 10 | LIC_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=81e6a4d81533b9263da4c3485a0ad883 \ | 13 | file://LEGAL;md5=eff3bb1382b590cc5814f1f3de6eb4e5 \ |
| 14 | " | 14 | " |
| 15 | 15 | ||
| 16 | DEPENDS = "zlib openssl libyaml libffi" | 16 | DEPENDS = "zlib openssl libyaml libffi" |
| @@ -32,6 +32,7 @@ UPSTREAM_CHECK_URI = "https://www.ruby-lang.org/en/downloads/" | |||
| 32 | 32 | ||
| 33 | inherit autotools ptest pkgconfig | 33 | inherit autotools ptest pkgconfig |
| 34 | 34 | ||
| 35 | EXTRA_AUTORECONF += "--exclude=aclocal" | ||
| 35 | 36 | ||
| 36 | # This snippet lets compiled extensions which rely on external libraries, | 37 | # This snippet lets compiled extensions which rely on external libraries, |
| 37 | # such as zlib, compile properly. If we don't do this, then when extmk.rb | 38 | # such as zlib, compile properly. If we don't do this, then when extmk.rb |
| @@ -47,7 +48,7 @@ do_configure:prepend() { | |||
| 47 | 48 | ||
| 48 | DEPENDS:append:libc-musl = " libucontext" | 49 | DEPENDS:append:libc-musl = " libucontext" |
| 49 | 50 | ||
| 50 | SRC_URI[sha256sum] = "8dc48fffaf270f86f1019053f28e51e4da4cce32a36760a0603a9aee67d7fd8d" | 51 | SRC_URI[sha256sum] = "3d385e5d22d368b064c817a13ed8e3cc3f71a7705d7ed1bae78013c33aa7c87f" |
| 51 | 52 | ||
| 52 | PACKAGECONFIG ??= "" | 53 | PACKAGECONFIG ??= "" |
| 53 | PACKAGECONFIG += "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" | 54 | PACKAGECONFIG += "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" |
| @@ -78,8 +79,7 @@ EXTRA_OECONF:append:libc-musl = "\ | |||
| 78 | PARALLEL_MAKEINST = "" | 79 | PARALLEL_MAKEINST = "" |
| 79 | 80 | ||
| 80 | do_install:append:class-target () { | 81 | do_install:append:class-target () { |
| 81 | # Find out rbconfig.rb from .installed.list | 82 | rbconfig_rb=`find ${D} -name rbconfig.rb` |
| 82 | rbconfig_rb=`grep rbconfig.rb ${B}/.installed.list` | ||
| 83 | # Remove build host directories | 83 | # Remove build host directories |
| 84 | sed -i -e 's:--sysroot=${STAGING_DIR_TARGET}::g' \ | 84 | sed -i -e 's:--sysroot=${STAGING_DIR_TARGET}::g' \ |
| 85 | -e s:'--with-libtool-sysroot=${STAGING_DIR_TARGET}'::g \ | 85 | -e s:'--with-libtool-sysroot=${STAGING_DIR_TARGET}'::g \ |
| @@ -88,7 +88,7 @@ do_install:append:class-target () { | |||
| 88 | -e 's:${RECIPE_SYSROOT_NATIVE}::g' \ | 88 | -e 's:${RECIPE_SYSROOT_NATIVE}::g' \ |
| 89 | -e 's:${RECIPE_SYSROOT}::g' \ | 89 | -e 's:${RECIPE_SYSROOT}::g' \ |
| 90 | -e 's:${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}::g' \ | 90 | -e 's:${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}::g' \ |
| 91 | ${D}$rbconfig_rb | 91 | $rbconfig_rb |
| 92 | 92 | ||
| 93 | sed -i -e 's|${DEBUG_PREFIX_MAP}||g' \ | 93 | sed -i -e 's|${DEBUG_PREFIX_MAP}||g' \ |
| 94 | ${D}${libdir}/pkgconfig/*.pc | 94 | ${D}${libdir}/pkgconfig/*.pc |
