dev-lang/ruby: remove automagic on gmp

Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/1530
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Alfred Wingate
2026-07-25 04:19:47 +03:00
committed by Sam James
parent 21cdb7e4b8
commit f2c6ef558e
7 changed files with 19 additions and 6 deletions

View File

@@ -6,6 +6,7 @@
<name>Gentoo Ruby Project</name>
</maintainer>
<use>
<flag name="gmp">Accelerate Bignum operations with <pkg>dev-libs/gmp</pkg></flag>
<flag name="systemtap">Enable SystemTap/DTrace tracing</flag>
</use>
<upstream>

View File

@@ -20,11 +20,12 @@ MY_SUFFIX=$(ver_rs 1 '' ${SLOT})
RUBYVERSION=${SLOT}.0
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
IUSE="berkdb debug doc examples gdbm jemalloc jit socks5 +ssl static-libs systemtap tk valgrind xemacs"
IUSE="berkdb debug doc examples gdbm gmp jemalloc jit socks5 +ssl static-libs systemtap tk valgrind xemacs"
RDEPEND="
berkdb? ( sys-libs/db:= )
gdbm? ( sys-libs/gdbm:= )
gmp? ( dev-libs/gmp:= )
jemalloc? ( dev-libs/jemalloc:= )
jit? ( ${RUST_DEPEND} )
ssl? (
@@ -231,6 +232,7 @@ src_configure() {
--with-setjmp-type=setjmp
--enable-mkmf-verbose
--with-out-ext="${modules}"
$(use_with gmp)
$(use_with jemalloc jemalloc)
$(use_enable jit jit-support)
$(use_enable jit yjit)

View File

@@ -33,11 +33,12 @@ SLOT=${MY_SLOT}
MY_SUFFIX=$(ver_rs 1 '' ${SLOT})
RUBYVERSION=${SLOT}.0
IUSE="berkdb debug doc examples gdbm jemalloc jit socks5 +ssl static-libs systemtap tk valgrind xemacs"
IUSE="berkdb debug doc examples gdbm gmp jemalloc jit socks5 +ssl static-libs systemtap tk valgrind xemacs"
RDEPEND="
berkdb? ( sys-libs/db:= )
gdbm? ( sys-libs/gdbm:= )
gmp? ( dev-libs/gmp:= )
jemalloc? ( dev-libs/jemalloc:= )
jit? ( ${RUST_DEPEND} )
ssl? (
@@ -252,6 +253,7 @@ src_configure() {
--with-setjmp-type=setjmp
--enable-mkmf-verbose
--with-out-ext="${modules}"
$(use_with gmp)
$(use_with jemalloc jemalloc)
$(use_enable jit jit-support)
$(use_enable jit yjit)

View File

@@ -20,11 +20,12 @@ MY_SUFFIX=$(ver_rs 1 '' ${SLOT})
RUBYVERSION=${SLOT}.0
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
IUSE="berkdb debug doc examples gdbm jemalloc jit socks5 +ssl static-libs systemtap tk valgrind xemacs"
IUSE="berkdb debug doc examples gdbm gmp jemalloc jit socks5 +ssl static-libs systemtap tk valgrind xemacs"
RDEPEND="
berkdb? ( sys-libs/db:= )
gdbm? ( sys-libs/gdbm:= )
gmp? ( dev-libs/gmp:= )
jemalloc? ( dev-libs/jemalloc:= )
jit? ( ${RUST_DEPEND} )
ssl? (
@@ -246,6 +247,7 @@ src_configure() {
--with-setjmp-type=setjmp
--enable-mkmf-verbose
--with-out-ext="${modules}"
$(use_with gmp)
$(use_with jemalloc jemalloc)
$(use_enable jit jit-support)
$(use_enable jit yjit)

View File

@@ -33,11 +33,12 @@ SLOT=${MY_SLOT}
MY_SUFFIX=$(ver_rs 1 '' ${SLOT})
RUBYVERSION=${SLOT}.0
IUSE="berkdb debug doc examples gdbm jemalloc jit socks5 +ssl static-libs systemtap tk valgrind xemacs"
IUSE="berkdb debug doc examples gdbm gmp jemalloc jit socks5 +ssl static-libs systemtap tk valgrind xemacs"
RDEPEND="
berkdb? ( sys-libs/db:= )
gdbm? ( sys-libs/gdbm:= )
gmp? ( dev-libs/gmp:= )
jemalloc? ( dev-libs/jemalloc:= )
jit? ( ${RUST_DEPEND} )
ssl? (
@@ -267,6 +268,7 @@ src_configure() {
--with-setjmp-type=setjmp
--enable-mkmf-verbose
--with-out-ext="${modules}"
$(use_with gmp)
$(use_with jemalloc jemalloc)
$(use_enable jit jit-support)
$(use_enable jit yjit)

View File

@@ -34,11 +34,12 @@ SLOT=${MY_SLOT}
MY_SUFFIX=$(ver_rs 1 '' ${SLOT})
RUBYVERSION=${SLOT}.0
IUSE="berkdb debug doc examples gdbm jemalloc jit socks5 +ssl static-libs systemtap tk valgrind xemacs"
IUSE="berkdb debug doc examples gdbm gmp jemalloc jit socks5 +ssl static-libs systemtap tk valgrind xemacs"
RDEPEND="
berkdb? ( sys-libs/db:= )
gdbm? ( sys-libs/gdbm:= )
gmp? ( dev-libs/gmp:= )
jemalloc? ( dev-libs/jemalloc:= )
jit? ( ${RUST_DEPEND} )
ssl? (
@@ -276,6 +277,7 @@ src_configure() {
--with-setjmp-type=setjmp
--enable-mkmf-verbose
--with-out-ext="${modules}"
$(use_with gmp)
$(use_with jemalloc jemalloc)
$(use_enable jit jit-support)
$(use_enable jit yjit)

View File

@@ -34,11 +34,12 @@ SLOT=${MY_SLOT}
MY_SUFFIX=$(ver_rs 1 '' ${SLOT})
RUBYVERSION=${SLOT}.0
IUSE="berkdb debug doc examples gdbm jemalloc jit socks5 +ssl static-libs systemtap tk valgrind xemacs"
IUSE="berkdb debug doc examples gdbm gmp jemalloc jit socks5 +ssl static-libs systemtap tk valgrind xemacs"
RDEPEND="
berkdb? ( sys-libs/db:= )
gdbm? ( sys-libs/gdbm:= )
gmp? ( dev-libs/gmp:= )
jemalloc? ( dev-libs/jemalloc:= )
jit? ( ${RUST_DEPEND} )
ssl? (
@@ -276,6 +277,7 @@ src_configure() {
--with-setjmp-type=setjmp
--enable-mkmf-verbose
--with-out-ext="${modules}"
$(use_with gmp)
$(use_with jemalloc jemalloc)
$(use_enable jit jit-support)
$(use_enable jit yjit)