summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/ruby')
-rw-r--r--meta/recipes-devtools/ruby/ruby/0001-extmk-fix-cross-compilation-of-external-gems.patch6
-rw-r--r--meta/recipes-devtools/ruby/ruby/0001-vm_dump.c-Define-REG_S1-and-REG_S2-for-musl-riscv.patch6
-rw-r--r--meta/recipes-devtools/ruby/ruby/0002-Obey-LDFLAGS-for-the-link-of-libruby.patch6
-rw-r--r--meta/recipes-devtools/ruby/ruby/0003-rdoc-build-reproducible-documentation.patch2
-rw-r--r--meta/recipes-devtools/ruby/ruby/0004-lib-mkmf.rb-sort-list-of-object-files-in-generated-M.patch6
-rw-r--r--meta/recipes-devtools/ruby/ruby/0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch9
-rw-r--r--meta/recipes-devtools/ruby/ruby/0006-Make-gemspecs-reproducible.patch30
-rw-r--r--meta/recipes-devtools/ruby/ruby_3.4.4.bb (renamed from meta/recipes-devtools/ruby/ruby_3.3.0.bb)13
8 files changed, 38 insertions, 40 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 7402e76333..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 @@
1From caa03f46a3204a7e0f0e5d9d9cc9113304dc0382 Mon Sep 17 00:00:00 2001 1From 03700ec256789e02de20b58bca080c6fef592336 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> 2From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com>
3Date: Mon, 30 Sep 2019 16:57:01 +0100 3Date: Mon, 30 Sep 2019 16:57:01 +0100
4Subject: [PATCH] extmk: fix cross-compilation of external gems 4Subject: [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
18diff --git a/ext/extmk.rb b/ext/extmk.rb 18diff --git a/ext/extmk.rb b/ext/extmk.rb
19index 428ffc9..87eff71 100755 19index 8b6b365..3048f75 100755
20--- a/ext/extmk.rb 20--- a/ext/extmk.rb
21+++ b/ext/extmk.rb 21+++ b/ext/extmk.rb
22@@ -420,8 +420,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 67054d6553..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 @@
1From 980dcc5380db6f03451357140ae1487117300156 Mon Sep 17 00:00:00 2001 1From f992d781e05b61489bdf5a2a9aee6cc616f1742a Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 25 Jan 2022 20:29:14 -0800 3Date: Tue, 25 Jan 2022 20:29:14 -0800
4Subject: [PATCH] vm_dump.c: Define REG_S1 and REG_S2 for musl/riscv 4Subject: [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
16diff --git a/vm_dump.c b/vm_dump.c 16diff --git a/vm_dump.c b/vm_dump.c
17index 444be4a..8a081a7 100644 17index 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 f3a65e785d..84fe9aee3d 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 @@
1From 7f7facb85bd65adec24230fe8ca7f6a9863a1fd0 Mon Sep 17 00:00:00 2001 1From 2625f6c155105d352d6a1ff3a722e7896431ff91 Mon Sep 17 00:00:00 2001
2From: Christopher Larson <chris_larson@mentor.com> 2From: Christopher Larson <chris_larson@mentor.com>
3Date: Thu, 5 May 2016 10:59:07 -0700 3Date: Thu, 5 May 2016 10:59:07 -0700
4Subject: [PATCH] Obey LDFLAGS for the link of libruby 4Subject: [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
12diff --git a/template/Makefile.in b/template/Makefile.in 12diff --git a/template/Makefile.in b/template/Makefile.in
13index 8c462f2..2200c8c 100644 13index 8f996b8..c708b64 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@@ -120,7 +120,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 e2d5b57c25..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 @@
1From 5079e678ce2a81416088c04f9123cd8207d5def2 Mon Sep 17 00:00:00 2001 1From 98071c0b28a45cd21a2cbe6746ce39067932b62f Mon Sep 17 00:00:00 2001
2From: Christian Hofstaedtler <zeha@debian.org> 2From: Christian Hofstaedtler <zeha@debian.org>
3Date: Tue, 10 Oct 2017 15:04:34 -0300 3Date: Tue, 10 Oct 2017 15:04:34 -0300
4Subject: [PATCH] rdoc: build reproducible documentation 4Subject: [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 b14a731cfb..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 @@
1From 99734381652602f76075017576a819c427ebb5f2 Mon Sep 17 00:00:00 2001 1From 0887facc4ca5bcb0280b025b35bbc18528e52914 Mon Sep 17 00:00:00 2001
2From: Reiner Herrmann <reiner@reiner-h.de> 2From: Reiner Herrmann <reiner@reiner-h.de>
3Date: Tue, 10 Oct 2017 15:06:13 -0300 3Date: Tue, 10 Oct 2017 15:06:13 -0300
4Subject: [PATCH] lib/mkmf.rb: sort list of object files in generated Makefile 4Subject: [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
19diff --git a/lib/mkmf.rb b/lib/mkmf.rb 19diff --git a/lib/mkmf.rb b/lib/mkmf.rb
20index 6da7dde..3af30a9 100644 20index 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 24268625a2..190eb7d728 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 @@
1From 3bc324379aa3e322bad9353da8c0064cd671cc74 Mon Sep 17 00:00:00 2001 1From 97051be9cb9317d2c4d61a82d6d953809e962f13 Mon Sep 17 00:00:00 2001
2From: Lucas Kanashiro <kanashiro@debian.org> 2From: Lucas Kanashiro <kanashiro@debian.org>
3Date: Fri, 1 Nov 2019 15:25:17 -0300 3Date: Fri, 1 Nov 2019 15:25:17 -0300
4Subject: [PATCH] Make gemspecs reproducible 4Subject: [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
14diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb 14diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb
15index a0c7faa..f0722d9 100644 15index 0b905a7..a102e3c 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@@ -1774,7 +1774,9 @@ class Gem::Specification < Gem::BasicSpecification 18@@ -1709,7 +1709,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
@@ -26,6 +26,3 @@ index a0c7faa..f0722d9 100644
26 Time.utc(date.year, date.month, date.day) 26 Time.utc(date.year, date.month, date.day)
27 else 27 else
28 TODAY 28 TODAY
29--
302.39.2
31
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 21604dfc34..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 @@
1From 1dc7ef09c3c567c4adb09ccfd97e0e59c58edb9f Mon Sep 17 00:00:00 2001 1From d58bdaca3d5379afcb954bb57c690c7736807ec5 Mon Sep 17 00:00:00 2001
2From: Lucas Kanashiro <kanashiro@debian.org> 2From: Lucas Kanashiro <kanashiro@debian.org>
3Date: Fri, 1 Nov 2019 15:25:17 -0300 3Date: Fri, 1 Nov 2019 15:25:17 -0300
4Subject: [PATCH] Make gemspecs reproducible 4Subject: [PATCH] Make gemspecs reproducible
@@ -8,17 +8,17 @@ build unreproducible
8 8
9Upstream-Status: Backport [debian] 9Upstream-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
18diff --git a/ext/bigdecimal/bigdecimal.gemspec b/ext/bigdecimal/bigdecimal.gemspec 18diff --git a/.bundle/gems/bigdecimal-3.1.8/bigdecimal.gemspec b/.bundle/gems/bigdecimal-3.1.8/bigdecimal.gemspec
19index f9f3b45..b9a469d 100644 19index 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."
30diff --git a/ext/fiddle/fiddle.gemspec b/ext/fiddle/fiddle.gemspec 30diff --git a/ext/fiddle/fiddle.gemspec b/ext/fiddle/fiddle.gemspec
31index 8781093..efdca32 100644 31index 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
42diff --git a/ext/io/console/io-console.gemspec b/ext/io/console/io-console.gemspec 42diff --git a/ext/io/console/io-console.gemspec b/ext/io/console/io-console.gemspec
43index d4f5276..8f89611 100644 43index 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."
54diff --git a/lib/ipaddr.gemspec b/lib/ipaddr.gemspec 54diff --git a/lib/ipaddr.gemspec b/lib/ipaddr.gemspec
55index 1f4798e..48743cf 100644 55index 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
66diff --git a/lib/rdoc/rdoc.gemspec b/lib/rdoc/rdoc.gemspec 66diff --git a/lib/rdoc/rdoc.gemspec b/lib/rdoc/rdoc.gemspec
67index 93a281c..cc5c155 100644 67index 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.0.bb b/meta/recipes-devtools/ruby/ruby_3.4.4.bb
index 657fc31b4d..39e86fdd28 100644
--- a/meta/recipes-devtools/ruby/ruby_3.3.0.bb
+++ b/meta/recipes-devtools/ruby/ruby_3.4.4.bb
@@ -10,7 +10,7 @@ LICENSE = "Ruby | BSD-2-Clause | BSD-3-Clause | GPL-2.0-only | 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=81e6a4d81533b9263da4c3485a0ad883 \ 13 file://LEGAL;md5=cb14358b7821c054ae14128885170204 \
14 " 14 "
15 15
16DEPENDS = "zlib openssl libyaml libffi" 16DEPENDS = "zlib openssl libyaml libffi"
@@ -32,6 +32,7 @@ UPSTREAM_CHECK_URI = "https://www.ruby-lang.org/en/downloads/"
32 32
33inherit autotools ptest pkgconfig 33inherit autotools ptest pkgconfig
34 34
35EXTRA_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
48DEPENDS:append:libc-musl = " libucontext" 49DEPENDS:append:libc-musl = " libucontext"
49 50
50SRC_URI[sha256sum] = "96518814d9832bece92a85415a819d4893b307db5921ae1f0f751a9a89a56b7d" 51SRC_URI[sha256sum] = "a0597bfdf312e010efd1effaa8d7f1d7833146fdc17950caa8158ffa3dcbfa85"
51 52
52PACKAGECONFIG ??= "" 53PACKAGECONFIG ??= ""
53PACKAGECONFIG += "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" 54PACKAGECONFIG += "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
@@ -67,6 +68,7 @@ EXTRA_OECONF = "\
67 --enable-load-relative \ 68 --enable-load-relative \
68 --with-pkg-config=pkg-config \ 69 --with-pkg-config=pkg-config \
69 --with-static-linked-ext \ 70 --with-static-linked-ext \
71 --with-mantype=man \
70" 72"
71 73
72EXTRA_OECONF:append:libc-musl = "\ 74EXTRA_OECONF:append:libc-musl = "\
@@ -77,8 +79,7 @@ EXTRA_OECONF:append:libc-musl = "\
77PARALLEL_MAKEINST = "" 79PARALLEL_MAKEINST = ""
78 80
79do_install:append:class-target () { 81do_install:append:class-target () {
80 # Find out rbconfig.rb from .installed.list 82 rbconfig_rb=`find ${D} -name rbconfig.rb`
81 rbconfig_rb=`grep rbconfig.rb ${B}/.installed.list`
82 # Remove build host directories 83 # Remove build host directories
83 sed -i -e 's:--sysroot=${STAGING_DIR_TARGET}::g' \ 84 sed -i -e 's:--sysroot=${STAGING_DIR_TARGET}::g' \
84 -e s:'--with-libtool-sysroot=${STAGING_DIR_TARGET}'::g \ 85 -e s:'--with-libtool-sysroot=${STAGING_DIR_TARGET}'::g \
@@ -87,7 +88,7 @@ do_install:append:class-target () {
87 -e 's:${RECIPE_SYSROOT_NATIVE}::g' \ 88 -e 's:${RECIPE_SYSROOT_NATIVE}::g' \
88 -e 's:${RECIPE_SYSROOT}::g' \ 89 -e 's:${RECIPE_SYSROOT}::g' \
89 -e 's:${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}::g' \ 90 -e 's:${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}::g' \
90 ${D}$rbconfig_rb 91 $rbconfig_rb
91 92
92 sed -i -e 's|${DEBUG_PREFIX_MAP}||g' \ 93 sed -i -e 's|${DEBUG_PREFIX_MAP}||g' \
93 ${D}${libdir}/pkgconfig/*.pc 94 ${D}${libdir}/pkgconfig/*.pc
@@ -98,7 +99,7 @@ do_install:append:class-target () {
98 99
99do_install_ptest () { 100do_install_ptest () {
100 cp -rf ${S}/test ${D}${PTEST_PATH}/ 101 cp -rf ${S}/test ${D}${PTEST_PATH}/
101 102 install -D ${S}/tool/test/init.rb ${D}${PTEST_PATH}/tool/test/init.rb
102 install -D ${S}/tool/test/runner.rb ${D}${PTEST_PATH}/tool/test/runner.rb 103 install -D ${S}/tool/test/runner.rb ${D}${PTEST_PATH}/tool/test/runner.rb
103 cp -r ${S}/tool/lib ${D}${PTEST_PATH}/tool/ 104 cp -r ${S}/tool/lib ${D}${PTEST_PATH}/tool/
104 mkdir -p ${D}${PTEST_PATH}/lib 105 mkdir -p ${D}${PTEST_PATH}/lib