commit:     f828e29b38299a78e1661b868a553ca6dbfcbc88
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 10 05:18:16 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr 10 05:18:16 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f828e29b

dev-lang/ruby: build verbosely and don't compress debug sections

Build verbosely with --enable-mkmf-verbose as is Gentoo policy as it makes
bugs easier to handle.

Also, while at it, don't always compress debug sections. We have 
FEATURES="compressdebug"
for that.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lang/ruby/ruby-2.7.8-r1.ebuild | 2 ++
 dev-lang/ruby/ruby-3.0.6-r1.ebuild | 2 ++
 dev-lang/ruby/ruby-3.1.4-r1.ebuild | 2 ++
 dev-lang/ruby/ruby-3.2.2-r1.ebuild | 2 ++
 4 files changed, 8 insertions(+)

diff --git a/dev-lang/ruby/ruby-2.7.8-r1.ebuild 
b/dev-lang/ruby/ruby-2.7.8-r1.ebuild
index 00bfcea0af62..14bd5ea3854b 100644
--- a/dev-lang/ruby/ruby-2.7.8-r1.ebuild
+++ b/dev-lang/ruby/ruby-2.7.8-r1.ebuild
@@ -163,6 +163,8 @@ src_configure() {
                --enable-pthread \
                --disable-rpath \
                --without-baseruby \
+               --with-compress-debug-sections=no \
+               --enable-mkmf-verbose \
                --with-out-ext="${modules}" \
                $(use_with jemalloc jemalloc) \
                $(use_enable jit jit-support ) \

diff --git a/dev-lang/ruby/ruby-3.0.6-r1.ebuild 
b/dev-lang/ruby/ruby-3.0.6-r1.ebuild
index b75e5b052e8b..afed530e4063 100644
--- a/dev-lang/ruby/ruby-3.0.6-r1.ebuild
+++ b/dev-lang/ruby/ruby-3.0.6-r1.ebuild
@@ -158,6 +158,8 @@ src_configure() {
                --enable-pthread \
                --disable-rpath \
                --without-baseruby \
+               --with-compress-debug-sections=no \
+               --enable-mkmf-verbose \
                --with-out-ext="${modules}" \
                $(use_with jemalloc jemalloc) \
                $(use_enable jit jit-support ) \

diff --git a/dev-lang/ruby/ruby-3.1.4-r1.ebuild 
b/dev-lang/ruby/ruby-3.1.4-r1.ebuild
index 36a6e643723f..06af384a59d1 100644
--- a/dev-lang/ruby/ruby-3.1.4-r1.ebuild
+++ b/dev-lang/ruby/ruby-3.1.4-r1.ebuild
@@ -163,6 +163,8 @@ src_configure() {
                --enable-pthread \
                --disable-rpath \
                --without-baseruby \
+               --with-compress-debug-sections=no \
+               --enable-mkmf-verbose \
                --with-out-ext="${modules}" \
                $(use_with jemalloc jemalloc) \
                $(use_enable jit jit-support ) \

diff --git a/dev-lang/ruby/ruby-3.2.2-r1.ebuild 
b/dev-lang/ruby/ruby-3.2.2-r1.ebuild
index dca82be67f05..eb755d2a1589 100644
--- a/dev-lang/ruby/ruby-3.2.2-r1.ebuild
+++ b/dev-lang/ruby/ruby-3.2.2-r1.ebuild
@@ -178,6 +178,8 @@ src_configure() {
                --enable-pthread \
                --disable-rpath \
                --without-baseruby \
+               --with-compress-debug-sections=no \
+               --enable-mkmf-verbose \
                --with-out-ext="${modules}" \
                $(use_with jemalloc jemalloc) \
                $(use_enable jit jit-support) \

Reply via email to