From e4abe04087809c298c5b307deb7ddee492e56f08 Mon Sep 17 00:00:00 2001 From: oreo639 Date: Tue, 8 Aug 2023 11:43:37 -0700 Subject: [PATCH] ruby: rebuild for libxcrypt --- srcpkgs/ruby/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/ruby/template b/srcpkgs/ruby/template index 30039707619..38907c77c2f 100644 --- a/srcpkgs/ruby/template +++ b/srcpkgs/ruby/template @@ -3,7 +3,7 @@ _ruby_abiver=3.2.0 pkgname=ruby version=3.2.2 -revision=2 +revision=3 build_style=gnu-configure configure_args="--enable-shared --disable-rpath PKG_CONFIG=/usr/bin/pkg-config" @@ -18,6 +18,10 @@ license="Ruby, BSD-2-Clause" distfiles="https://cache.ruby-lang.org/pub/ruby/${version%.*}/${pkgname}-${version}.tar.xz" checksum=4b352d0f7ec384e332e3e44cdbfdcd5ff2d594af3c8296b5636c710975149e23 +if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then + makedepends+=" libxcrypt-devel" +fi + case "$XBPS_TARGET_MACHINE" in *-musl) # Broken on the builders but successfully built locally # As a workaround disable all docs