From 238356ec5918f8f6b83d490b69f43e83e05cb668 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 9 Oct 2022 14:32:03 +0200 Subject: community/ruby-hoe: building using ruby-stdlib instead of build-support --- community/ruby-hoe/PKGBUILD | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 community/ruby-hoe/PKGBUILD (limited to 'community/ruby-hoe/PKGBUILD') diff --git a/community/ruby-hoe/PKGBUILD b/community/ruby-hoe/PKGBUILD new file mode 100644 index 00000000..472071e2 --- /dev/null +++ b/community/ruby-hoe/PKGBUILD @@ -0,0 +1,17 @@ +# bootstrapped packages in first step from /opt/ruby- contain +# /opt/ruby-XXX/bin in the binaries in /usr/bin and they have +# wrong architecture strings in native library code +eval "$( + declare -f build | \ + sed ' + 3 i export RUBYLIB=/usr/lib/ruby/3.0.0/x86-linux + ' +)" +eval "$( + declare -f package | \ + sed ' + 3 i export RUBYLIB=/usr/lib/ruby/3.0.0/x86-linux + ' +)" + +unset check -- cgit v1.2.3-70-g09d2