From 088a1683d1b1c7e003aa749fc2ad293a017ad150 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 9 Oct 2022 09:55:46 +0200 Subject: community/ruby-kpeg: rebuilding against ruby with patching for finding shared libraries --- community/ruby-kpeg/PKGBUILD | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 community/ruby-kpeg/PKGBUILD (limited to 'community') diff --git a/community/ruby-kpeg/PKGBUILD b/community/ruby-kpeg/PKGBUILD new file mode 100644 index 00000000..472071e2 --- /dev/null +++ b/community/ruby-kpeg/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