ruby: update to 3.1.3.
This commit is contained in:
parent
1eaa8d955f
commit
3676d70b83
@ -2,7 +2,7 @@
|
|||||||
_ruby_abiver=3.1.0
|
_ruby_abiver=3.1.0
|
||||||
|
|
||||||
pkgname=ruby
|
pkgname=ruby
|
||||||
version=3.1.2
|
version=3.1.3
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-shared --disable-rpath
|
configure_args="--enable-shared --disable-rpath
|
||||||
@ -16,7 +16,7 @@ homepage="http://www.ruby-lang.org/en/"
|
|||||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
license="Ruby, BSD-2-Clause"
|
license="Ruby, BSD-2-Clause"
|
||||||
distfiles="https://cache.ruby-lang.org/pub/ruby/${version%.*}/${pkgname}-${version}.tar.xz"
|
distfiles="https://cache.ruby-lang.org/pub/ruby/${version%.*}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=ca10d017f8a1b6d247556622c841fc56b90c03b1803f87198da1e4fd3ec3bf2a
|
checksum=4ee161939826bcdfdafa757cf8e293a7f14e357f62be7144f040335cc8c7371a
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
*-musl) # Broken on the builders but successfully built locally
|
*-musl) # Broken on the builders but successfully built locally
|
||||||
@ -48,12 +48,6 @@ if [ "$CROSS_BUILD" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
post_patch() {
|
post_patch() {
|
||||||
# https://bugs.ruby-lang.org/issues/18373#note-8
|
|
||||||
find .bundle -name extconf.rb -exec \
|
|
||||||
sed -i \
|
|
||||||
-e '/create_makefile/i \$arch_hdrdir = "$(hdrdir)/../.ext/include/$(arch)"' \
|
|
||||||
-e '/create_makefile/i \$DLDFLAGS << " -L#{$top_srcdir}"' {} \;
|
|
||||||
|
|
||||||
[ "$XBPS_TARGET_LIBC" = "glibc" ] && return 0
|
[ "$XBPS_TARGET_LIBC" = "glibc" ] && return 0
|
||||||
|
|
||||||
echo "Patching out using binary gems for non-glibc..."
|
echo "Patching out using binary gems for non-glibc..."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user