ruby: update to 3.1.3.

This commit is contained in:
Leah Neukirchen 2022-11-24 17:01:08 +01:00
parent 1eaa8d955f
commit 3676d70b83

View file

@ -2,7 +2,7 @@
_ruby_abiver=3.1.0
pkgname=ruby
version=3.1.2
version=3.1.3
revision=1
build_style=gnu-configure
configure_args="--enable-shared --disable-rpath
@ -16,7 +16,7 @@ homepage="http://www.ruby-lang.org/en/"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Ruby, BSD-2-Clause"
distfiles="https://cache.ruby-lang.org/pub/ruby/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=ca10d017f8a1b6d247556622c841fc56b90c03b1803f87198da1e4fd3ec3bf2a
checksum=4ee161939826bcdfdafa757cf8e293a7f14e357f62be7144f040335cc8c7371a
case "$XBPS_TARGET_MACHINE" in
*-musl) # Broken on the builders but successfully built locally
@ -48,12 +48,6 @@ if [ "$CROSS_BUILD" ]; then
fi
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
echo "Patching out using binary gems for non-glibc..."