commit:     fc40da2ce32ceff9a07855a7ffcca9f1bcead861
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Fri Oct 18 15:01:23 2024 +0000
Commit:     orbea <orbea <AT> riseup <DOT> net>
CommitDate: Fri Oct 18 15:01:23 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=fc40da2c

dev-lang/ruby: sync ::gentoo

Signed-off-by: orbea <orbea <AT> riseup.net>

 dev-lang/ruby/metadata.xml         | 2 +-
 dev-lang/ruby/ruby-3.1.4-r3.ebuild | 5 +++++
 dev-lang/ruby/ruby-3.1.5.ebuild    | 5 +++++
 3 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/dev-lang/ruby/metadata.xml b/dev-lang/ruby/metadata.xml
index cf9a216..628c6c4 100644
--- a/dev-lang/ruby/metadata.xml
+++ b/dev-lang/ruby/metadata.xml
@@ -7,7 +7,7 @@
   </maintainer>
   <use>
     <flag name="rdoc">Install <pkg>dev-ruby/rdoc</pkg> after installing 
Ruby.</flag>
-    <flag name="systemtap">Enable SystemTAP/DTrace tracing</flag>
+    <flag name="systemtap">Enable SystemTap/DTrace tracing</flag>
   </use>
   <upstream>
     <remote-id type="github">ruby/ruby</remote-id>

diff --git a/dev-lang/ruby/ruby-3.1.4-r3.ebuild 
b/dev-lang/ruby/ruby-3.1.4-r3.ebuild
index 782ec72..1a027c0 100644
--- a/dev-lang/ruby/ruby-3.1.4-r3.ebuild
+++ b/dev-lang/ruby/ruby-3.1.4-r3.ebuild
@@ -141,6 +141,11 @@ src_configure() {
        # as it's risky with newer compilers to leave it as it is.
        append-flags -fno-strict-aliasing
 
+       # Workaround for bug #938302
+       if use systemtap && has_version 
"dev-debug/systemtap[-dtrace-symlink(+)]" ; then
+               export DTRACE="${BROOT}"/usr/bin/stap-dtrace
+       fi
+
        # Socks support via dante
        if use socks5 ; then
                # Socks support can't be disabled as long as SOCKS_SERVER is

diff --git a/dev-lang/ruby/ruby-3.1.5.ebuild b/dev-lang/ruby/ruby-3.1.5.ebuild
index e9c7419..84bb31d 100644
--- a/dev-lang/ruby/ruby-3.1.5.ebuild
+++ b/dev-lang/ruby/ruby-3.1.5.ebuild
@@ -150,6 +150,11 @@ src_configure() {
        # as it's risky with newer compilers to leave it as it is.
        append-flags -fno-strict-aliasing
 
+       # Workaround for bug #938302
+       if use systemtap && has_version 
"dev-debug/systemtap[-dtrace-symlink(+)]" ; then
+               export DTRACE="${BROOT}"/usr/bin/stap-dtrace
+       fi
+
        # Socks support via dante
        if use socks5 ; then
                # Socks support can't be disabled as long as SOCKS_SERVER is

Reply via email to