mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 06:07:00 +02:00
ruby: update to 3.1.3.
This commit is contained in:
parent
1eaa8d955f
commit
3676d70b83
1 changed files with 2 additions and 8 deletions
|
@ -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..."
|
||||
|
|
Loading…
Add table
Reference in a new issue