From f1b42b3d18eab8ade8c02ac3dce75af3df742091 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 9 Oct 2022 09:10:35 +0200 Subject: community/ruby-*: rebuilding against ruby with patching for finding shared libraries --- community/ruby-benchmark/PKGBUILD | 16 ++++++++++------ community/ruby-bigdecimal/PKGBUILD | 16 ++++++++++------ community/ruby-bundler/PKGBUILD | 16 ++++++++++------ community/ruby-cgi/PKGBUILD | 16 ++++++++++------ community/ruby-csv/PKGBUILD | 16 ++++++++++------ community/ruby-date/PKGBUILD | 16 ++++++++++------ community/ruby-delegate/PKGBUILD | 16 ++++++++++------ community/ruby-did_you_mean/PKGBUILD | 16 ++++++++++------ community/ruby-drb/PKGBUILD | 16 ++++++++++------ community/ruby-english/PKGBUILD | 16 ++++++++++------ community/ruby-erb/PKGBUILD | 16 ++++++++++------ community/ruby-etc/PKGBUILD | 16 ++++++++++------ community/ruby-fcntl/PKGBUILD | 16 ++++++++++------ community/ruby-fiddle/PKGBUILD | 16 ++++++++++------ community/ruby-fileutils/PKGBUILD | 16 ++++++++++------ community/ruby-find/PKGBUILD | 16 ++++++++++------ community/ruby-forwardable/PKGBUILD | 16 ++++++++++------ community/ruby-getoptlong/PKGBUILD | 16 ++++++++++------ community/ruby-io-console/PKGBUILD | 16 ++++++++++------ community/ruby-io-nonblock/PKGBUILD | 16 ++++++++++------ community/ruby-io-wait/PKGBUILD | 16 ++++++++++------ community/ruby-ipaddr/PKGBUILD | 16 ++++++++++------ community/ruby-irb/PKGBUILD | 16 ++++++++++------ community/ruby-json/PKGBUILD | 16 ++++++++++------ community/ruby-logger/PKGBUILD | 16 ++++++++++------ community/ruby-minitest/PKGBUILD | 16 ++++++++++------ community/ruby-mutex_m/PKGBUILD | 16 ++++++++++------ community/ruby-net-http/PKGBUILD | 16 ++++++++++------ community/ruby-open-uri/PKGBUILD | 16 ++++++++++------ community/ruby-racc/PKGBUILD | 16 ++++++++++------ community/ruby-rdoc/PKGBUILD | 16 ++++++++++------ community/ruby-reline/PKGBUILD | 16 ++++++++++------ community/ruby-stringio/PKGBUILD | 16 ++++++++++------ community/ruby-time/PKGBUILD | 16 ++++++++++------ community/ruby-tmpdir/PKGBUILD | 16 ++++++++++------ community/ruby-uri/PKGBUILD | 16 ++++++++++------ 36 files changed, 360 insertions(+), 216 deletions(-) (limited to 'community') diff --git a/community/ruby-benchmark/PKGBUILD b/community/ruby-benchmark/PKGBUILD index e4a5d80a..472071e2 100644 --- a/community/ruby-benchmark/PKGBUILD +++ b/community/ruby-benchmark/PKGBUILD @@ -1,12 +1,16 @@ -# building with ruby-bootstrap in /opt/ruby-xxx, but install into /usr -# and depend on 'ruby' -makedepends=(ruby-bootstrap) - -# install to final destination in /usr and not into /opt/ruby-xxx +# 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 ' - s|local _gemdir.*|local _gemdir="/usr/lib/ruby/gems/3.0.0"|g + 3 i export RUBYLIB=/usr/lib/ruby/3.0.0/x86-linux ' )" diff --git a/community/ruby-bigdecimal/PKGBUILD b/community/ruby-bigdecimal/PKGBUILD index e4a5d80a..472071e2 100644 --- a/community/ruby-bigdecimal/PKGBUILD +++ b/community/ruby-bigdecimal/PKGBUILD @@ -1,12 +1,16 @@ -# building with ruby-bootstrap in /opt/ruby-xxx, but install into /usr -# and depend on 'ruby' -makedepends=(ruby-bootstrap) - -# install to final destination in /usr and not into /opt/ruby-xxx +# 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 ' - s|local _gemdir.*|local _gemdir="/usr/lib/ruby/gems/3.0.0"|g + 3 i export RUBYLIB=/usr/lib/ruby/3.0.0/x86-linux ' )" diff --git a/community/ruby-bundler/PKGBUILD b/community/ruby-bundler/PKGBUILD index e4a5d80a..472071e2 100644 --- a/community/ruby-bundler/PKGBUILD +++ b/community/ruby-bundler/PKGBUILD @@ -1,12 +1,16 @@ -# building with ruby-bootstrap in /opt/ruby-xxx, but install into /usr -# and depend on 'ruby' -makedepends=(ruby-bootstrap) - -# install to final destination in /usr and not into /opt/ruby-xxx +# 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 ' - s|local _gemdir.*|local _gemdir="/usr/lib/ruby/gems/3.0.0"|g + 3 i export RUBYLIB=/usr/lib/ruby/3.0.0/x86-linux ' )" diff --git a/community/ruby-cgi/PKGBUILD b/community/ruby-cgi/PKGBUILD index e4a5d80a..472071e2 100644 --- a/community/ruby-cgi/PKGBUILD +++ b/community/ruby-cgi/PKGBUILD @@ -1,12 +1,16 @@ -# building with ruby-bootstrap in /opt/ruby-xxx, but install into /usr -# and depend on 'ruby' -makedepends=(ruby-bootstrap) - -# install to final destination in /usr and not into /opt/ruby-xxx +# 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 ' - s|local _gemdir.*|local _gemdir="/usr/lib/ruby/gems/3.0.0"|g + 3 i export RUBYLIB=/usr/lib/ruby/3.0.0/x86-linux ' )" diff --git a/community/ruby-csv/PKGBUILD b/community/ruby-csv/PKGBUILD index e4a5d80a..472071e2 100644 --- a/community/ruby-csv/PKGBUILD +++ b/community/ruby-csv/PKGBUILD @@ -1,12 +1,16 @@ -# building with ruby-bootstrap in /opt/ruby-xxx, but install into /usr -# and depend on 'ruby' -makedepends=(ruby-bootstrap) - -# install to final destination in /usr and not into /opt/ruby-xxx +# 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 ' - s|local _gemdir.*|local _gemdir="/usr/lib/ruby/gems/3.0.0"|g + 3 i export RUBYLIB=/usr/lib/ruby/3.0.0/x86-linux ' )" diff --git a/community/ruby-date/PKGBUILD b/community/ruby-date/PKGBUILD index e4a5d80a..472071e2 100644 --- a/community/ruby-date/PKGBUILD +++ b/community/ruby-date/PKGBUILD @@ -1,12 +1,16 @@ -# building with ruby-bootstrap in /opt/ruby-xxx, but install into /usr -# and depend on 'ruby' -makedepends=(ruby-bootstrap) - -# install to final destination in /usr and not into /opt/ruby-xxx +# 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 ' - s|local _gemdir.*|local _gemdir="/usr/lib/ruby/gems/3.0.0"|g + 3 i export RUBYLIB=/usr/lib/ruby/3.0.0/x86-linux ' )" diff --git a/community/ruby-delegate/PKGBUILD b/community/ruby-delegate/PKGBUILD index e4a5d80a..472071e2 100644 --- a/community/ruby-delegate/PKGBUILD +++ b/community/ruby-delegate/PKGBUILD @@ -1,12 +1,16 @@ -# building with ruby-bootstrap in /opt/ruby-xxx, but install into /usr -# and depend on 'ruby' -makedepends=(ruby-bootstrap) - -# install to final destination in /usr and not into /opt/ruby-xxx +# 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 ' - s|local _gemdir.*|local _gemdir="/usr/lib/ruby/gems/3.0.0"|g + 3 i export RUBYLIB=/usr/lib/ruby/3.0.0/x86-linux ' )" diff --git a/community/ruby-did_you_mean/PKGBUILD b/community/ruby-did_you_mean/PKGBUILD index e4a5d80a..472071e2 100644 --- a/community/ruby-did_you_mean/PKGBUILD +++ b/community/ruby-did_you_mean/PKGBUILD @@ -1,12 +1,16 @@ -# building with ruby-bootstrap in /opt/ruby-xxx, but install into /usr -# and depend on 'ruby' -makedepends=(ruby-bootstrap) - -# install to final destination in /usr and not into /opt/ruby-xxx +# 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 ' - s|local _gemdir.*|local _gemdir="/usr/lib/ruby/gems/3.0.0"|g + 3 i export RUBYLIB=/usr/lib/ruby/3.0.0/x86-linux ' )" diff --git a/community/ruby-drb/PKGBUILD b/community/ruby-drb/PKGBUILD index e4a5d80a..472071e2 100644 --- a/community/ruby-drb/PKGBUILD +++ b/community/ruby-drb/PKGBUILD @@ -1,12 +1,16 @@ -# building with ruby-bootstrap in /opt/ruby-xxx, but install into /usr -# and depend on 'ruby' -makedepends=(ruby-bootstrap) - -# install to final destination in /usr and not into /opt/ruby-xxx +# 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 ' - s|local _gemdir.*|local _gemdir="/usr/lib/ruby/gems/3.0.0"|g + 3 i export RUBYLIB=/usr/lib/ruby/3.0.0/x86-linux ' )" diff --git a/community/ruby-english/PKGBUILD b/community/ruby-english/PKGBUILD index e4a5d80a..472071e2 100644 --- a/community/ruby-english/PKGBUILD +++ b/community/ruby-english/PKGBUILD @@ -1,12 +1,16 @@ -# building with ruby-bootstrap in /opt/ruby-xxx, but install into /usr -# and depend on 'ruby' -makedepends=(ruby-bootstrap) - -# install to final destination in /usr and not into /opt/ruby-xxx +# 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 ' - s|local _gemdir.*|local _gemdir="/usr/lib/ruby/gems/3.0.0"|g + 3 i export RUBYLIB=/usr/lib/ruby/3.0.0/x86-linux ' )" diff --git a/community/ruby-erb/PKGBUILD b/community/ruby-erb/PKGBUILD index e4a5d80a..472071e2 100644 --- a/community/ruby-erb/PKGBUILD +++ b/community/ruby-erb/PKGBUILD @@ -1,12 +1,16 @@ -# building with ruby-bootstrap in /opt/ruby-xxx, but install into /usr -# and depend on 'ruby' -makedepends=(ruby-bootstrap) - -# install to final destination in /usr and not into /opt/ruby-xxx +# 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 ' - s|local _gemdir.*|local _gemdir="/usr/lib/ruby/gems/3.0.0"|g + 3 i export RUBYLIB=/usr/lib/ruby/3.0.0/x86-linux ' )" diff --git a/community/ruby-etc/PKGBUILD b/community/ruby-etc/PKGBUILD index e4a5d80a..472071e2 100644 --- a/community/ruby-etc/PKGBUILD +++ b/community/ruby-etc/PKGBUILD @@ -1,12 +1,16 @@ -# building with ruby-bootstrap in /opt/ruby-xxx, but install into /usr -# and depend on 'ruby' -makedepends=(ruby-bootstrap) - -# install to final destination in /usr and not into /opt/ruby-xxx +# 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 ' - s|local _gemdir.*|local _gemdir="/usr/lib/ruby/gems/3.0.0"|g + 3 i export RUBYLIB=/usr/lib/ruby/3.0.0/x86-linux ' )" diff --git a/community/ruby-fcntl/PKGBUILD b/community/ruby-fcntl/PKGBUILD index e4a5d80a..472071e2 100644 --- a/community/ruby-fcntl/PKGBUILD +++ b/community/ruby-fcntl/PKGBUILD @@ -1,12 +1,16 @@ -# building with ruby-bootstrap in /opt/ruby-xxx, but install into /usr -# and depend on 'ruby' -makedepends=(ruby-bootstrap) - -# install to final destination in /usr and not into /opt/ruby-xxx +# 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 ' - s|local _gemdir.*|local _gemdir="/usr/lib/ruby/gems/3.0.0"|g + 3 i export RUBYLIB=/usr/lib/ruby/3.0.0/x86-linux ' )" diff --git a/community/ruby-fiddle/PKGBUILD b/community/ruby-fiddle/PKGBUILD index e4a5d80a..472071e2 100644 --- a/community/ruby-fiddle/PKGBUILD +++ b/community/ruby-fiddle/PKGBUILD @@ -1,12 +1,16 @@ -# building with ruby-bootstrap in /opt/ruby-xxx, but install into /usr -# and depend on 'ruby' -makedepends=(ruby-bootstrap) - -# install to final destination in /usr and not into /opt/ruby-xxx +# 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 ' - s|local _gemdir.*|local _gemdir="/usr/lib/ruby/gems/3.0.0"|g + 3 i export RUBYLIB=/usr/lib/ruby/3.0.0/x86-linux ' )" diff --git a/community/ruby-fileutils/PKGBUILD b/community/ruby-fileutils/PKGBUILD index e4a5d80a..472071e2 100644 --- a/community/ruby-fileutils/PKGBUILD +++ b/community/ruby-fileutils/PKGBUILD @@ -1,12 +1,16 @@ -# building with ruby-bootstrap in /opt/ruby-xxx, but install into /usr -# and depend on 'ruby' -makedepends=(ruby-bootstrap) - -# install to final destination in /usr and not into /opt/ruby-xxx +# 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 ' - s|local _gemdir.*|local _gemdir="/usr/lib/ruby/gems/3.0.0"|g + 3 i export RUBYLIB=/usr/lib/ruby/3.0.0/x86-linux ' )" diff --git a/community/ruby-find/PKGBUILD b/community/ruby-find/PKGBUILD index e4a5d80a..472071e2 100644 --- a/community/ruby-find/PKGBUILD +++ b/community/ruby-find/PKGBUILD @@ -1,12 +1,16 @@ -# building with ruby-bootstrap in /opt/ruby-xxx, but install into /usr -# and depend on 'ruby' -makedepends=(ruby-bootstrap) - -# install to final destination in /usr and not into /opt/ruby-xxx +# 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 ' - s|local _gemdir.*|local _gemdir="/usr/lib/ruby/gems/3.0.0"|g + 3 i export RUBYLIB=/usr/lib/ruby/3.0.0/x86-linux ' )" diff --git a/community/ruby-forwardable/PKGBUILD b/community/ruby-forwardable/PKGBUILD index e4a5d80a..472071e2 100644 --- a/community/ruby-forwardable/PKGBUILD +++ b/community/ruby-forwardable/PKGBUILD @@ -1,12 +1,16 @@ -# building with ruby-bootstrap in /opt/ruby-xxx, but install into /usr -# and depend on 'ruby' -makedepends=(ruby-bootstrap) - -# install to final destination in /usr and not into /opt/ruby-xxx +# 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 ' - s|local _gemdir.*|local _gemdir="/usr/lib/ruby/gems/3.0.0"|g + 3 i export RUBYLIB=/usr/lib/ruby/3.0.0/x86-linux ' )" diff --git a/community/ruby-getoptlong/PKGBUILD b/community/ruby-getoptlong/PKGBUILD index e4a5d80a..472071e2 100644 --- a/community/ruby-getoptlong/PKGBUILD +++ b/community/ruby-getoptlong/PKGBUILD @@ -1,12 +1,16 @@ -# building with ruby-bootstrap in /opt/ruby-xxx, but install into /usr -# and depend on 'ruby' -makedepends=(ruby-bootstrap) - -# install to final destination in /usr and not into /opt/ruby-xxx +# 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 ' - s|local _gemdir.*|local _gemdir="/usr/lib/ruby/gems/3.0.0"|g + 3 i export RUBYLIB=/usr/lib/ruby/3.0.0/x86-linux ' )" diff --git a/community/ruby-io-console/PKGBUILD b/community/ruby-io-console/PKGBUILD index e4a5d80a..472071e2 100644 --- a/community/ruby-io-console/PKGBUILD +++ b/community/ruby-io-console/PKGBUILD @@ -1,12 +1,16 @@ -# building with ruby-bootstrap in /opt/ruby-xxx, but install into /usr -# and depend on 'ruby' -makedepends=(ruby-bootstrap) - -# install to final destination in /usr and not into /opt/ruby-xxx +# 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 ' - s|local _gemdir.*|local _gemdir="/usr/lib/ruby/gems/3.0.0"|g + 3 i export RUBYLIB=/usr/lib/ruby/3.0.0/x86-linux ' )" diff --git a/community/ruby-io-nonblock/PKGBUILD b/community/ruby-io-nonblock/PKGBUILD index e4a5d80a..472071e2 100644 --- a/community/ruby-io-nonblock/PKGBUILD +++ b/community/ruby-io-nonblock/PKGBUILD @@ -1,12 +1,16 @@ -# building with ruby-bootstrap in /opt/ruby-xxx, but install into /usr -# and depend on 'ruby' -makedepends=(ruby-bootstrap) - -# install to final destination in /usr and not into /opt/ruby-xxx +# 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 ' - s|local _gemdir.*|local _gemdir="/usr/lib/ruby/gems/3.0.0"|g + 3 i export RUBYLIB=/usr/lib/ruby/3.0.0/x86-linux ' )" diff --git a/community/ruby-io-wait/PKGBUILD b/community/ruby-io-wait/PKGBUILD index e4a5d80a..472071e2 100644 --- a/community/ruby-io-wait/PKGBUILD +++ b/community/ruby-io-wait/PKGBUILD @@ -1,12 +1,16 @@ -# building with ruby-bootstrap in /opt/ruby-xxx, but install into /usr -# and depend on 'ruby' -makedepends=(ruby-bootstrap) - -# install to final destination in /usr and not into /opt/ruby-xxx +# 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 ' - s|local _gemdir.*|local _gemdir="/usr/lib/ruby/gems/3.0.0"|g + 3 i export RUBYLIB=/usr/lib/ruby/3.0.0/x86-linux ' )" diff --git a/community/ruby-ipaddr/PKGBUILD b/community/ruby-ipaddr/PKGBUILD index e4a5d80a..472071e2 100644 --- a/community/ruby-ipaddr/PKGBUILD +++ b/community/ruby-ipaddr/PKGBUILD @@ -1,12 +1,16 @@ -# building with ruby-bootstrap in /opt/ruby-xxx, but install into /usr -# and depend on 'ruby' -makedepends=(ruby-bootstrap) - -# install to final destination in /usr and not into /opt/ruby-xxx +# 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 ' - s|local _gemdir.*|local _gemdir="/usr/lib/ruby/gems/3.0.0"|g + 3 i export RUBYLIB=/usr/lib/ruby/3.0.0/x86-linux ' )" diff --git a/community/ruby-irb/PKGBUILD b/community/ruby-irb/PKGBUILD index e4a5d80a..472071e2 100644 --- a/community/ruby-irb/PKGBUILD +++ b/community/ruby-irb/PKGBUILD @@ -1,12 +1,16 @@ -# building with ruby-bootstrap in /opt/ruby-xxx, but install into /usr -# and depend on 'ruby' -makedepends=(ruby-bootstrap) - -# install to final destination in /usr and not into /opt/ruby-xxx +# 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 ' - s|local _gemdir.*|local _gemdir="/usr/lib/ruby/gems/3.0.0"|g + 3 i export RUBYLIB=/usr/lib/ruby/3.0.0/x86-linux ' )" diff --git a/community/ruby-json/PKGBUILD b/community/ruby-json/PKGBUILD index e4a5d80a..472071e2 100644 --- a/community/ruby-json/PKGBUILD +++ b/community/ruby-json/PKGBUILD @@ -1,12 +1,16 @@ -# building with ruby-bootstrap in /opt/ruby-xxx, but install into /usr -# and depend on 'ruby' -makedepends=(ruby-bootstrap) - -# install to final destination in /usr and not into /opt/ruby-xxx +# 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 ' - s|local _gemdir.*|local _gemdir="/usr/lib/ruby/gems/3.0.0"|g + 3 i export RUBYLIB=/usr/lib/ruby/3.0.0/x86-linux ' )" diff --git a/community/ruby-logger/PKGBUILD b/community/ruby-logger/PKGBUILD index e4a5d80a..472071e2 100644 --- a/community/ruby-logger/PKGBUILD +++ b/community/ruby-logger/PKGBUILD @@ -1,12 +1,16 @@ -# building with ruby-bootstrap in /opt/ruby-xxx, but install into /usr -# and depend on 'ruby' -makedepends=(ruby-bootstrap) - -# install to final destination in /usr and not into /opt/ruby-xxx +# 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 ' - s|local _gemdir.*|local _gemdir="/usr/lib/ruby/gems/3.0.0"|g + 3 i export RUBYLIB=/usr/lib/ruby/3.0.0/x86-linux ' )" diff --git a/community/ruby-minitest/PKGBUILD b/community/ruby-minitest/PKGBUILD index e4a5d80a..472071e2 100644 --- a/community/ruby-minitest/PKGBUILD +++ b/community/ruby-minitest/PKGBUILD @@ -1,12 +1,16 @@ -# building with ruby-bootstrap in /opt/ruby-xxx, but install into /usr -# and depend on 'ruby' -makedepends=(ruby-bootstrap) - -# install to final destination in /usr and not into /opt/ruby-xxx +# 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 ' - s|local _gemdir.*|local _gemdir="/usr/lib/ruby/gems/3.0.0"|g + 3 i export RUBYLIB=/usr/lib/ruby/3.0.0/x86-linux ' )" diff --git a/community/ruby-mutex_m/PKGBUILD b/community/ruby-mutex_m/PKGBUILD index e4a5d80a..472071e2 100644 --- a/community/ruby-mutex_m/PKGBUILD +++ b/community/ruby-mutex_m/PKGBUILD @@ -1,12 +1,16 @@ -# building with ruby-bootstrap in /opt/ruby-xxx, but install into /usr -# and depend on 'ruby' -makedepends=(ruby-bootstrap) - -# install to final destination in /usr and not into /opt/ruby-xxx +# 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 ' - s|local _gemdir.*|local _gemdir="/usr/lib/ruby/gems/3.0.0"|g + 3 i export RUBYLIB=/usr/lib/ruby/3.0.0/x86-linux ' )" diff --git a/community/ruby-net-http/PKGBUILD b/community/ruby-net-http/PKGBUILD index e4a5d80a..472071e2 100644 --- a/community/ruby-net-http/PKGBUILD +++ b/community/ruby-net-http/PKGBUILD @@ -1,12 +1,16 @@ -# building with ruby-bootstrap in /opt/ruby-xxx, but install into /usr -# and depend on 'ruby' -makedepends=(ruby-bootstrap) - -# install to final destination in /usr and not into /opt/ruby-xxx +# 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 ' - s|local _gemdir.*|local _gemdir="/usr/lib/ruby/gems/3.0.0"|g + 3 i export RUBYLIB=/usr/lib/ruby/3.0.0/x86-linux ' )" diff --git a/community/ruby-open-uri/PKGBUILD b/community/ruby-open-uri/PKGBUILD index e4a5d80a..472071e2 100644 --- a/community/ruby-open-uri/PKGBUILD +++ b/community/ruby-open-uri/PKGBUILD @@ -1,12 +1,16 @@ -# building with ruby-bootstrap in /opt/ruby-xxx, but install into /usr -# and depend on 'ruby' -makedepends=(ruby-bootstrap) - -# install to final destination in /usr and not into /opt/ruby-xxx +# 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 ' - s|local _gemdir.*|local _gemdir="/usr/lib/ruby/gems/3.0.0"|g + 3 i export RUBYLIB=/usr/lib/ruby/3.0.0/x86-linux ' )" diff --git a/community/ruby-racc/PKGBUILD b/community/ruby-racc/PKGBUILD index e4a5d80a..472071e2 100644 --- a/community/ruby-racc/PKGBUILD +++ b/community/ruby-racc/PKGBUILD @@ -1,12 +1,16 @@ -# building with ruby-bootstrap in /opt/ruby-xxx, but install into /usr -# and depend on 'ruby' -makedepends=(ruby-bootstrap) - -# install to final destination in /usr and not into /opt/ruby-xxx +# 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 ' - s|local _gemdir.*|local _gemdir="/usr/lib/ruby/gems/3.0.0"|g + 3 i export RUBYLIB=/usr/lib/ruby/3.0.0/x86-linux ' )" diff --git a/community/ruby-rdoc/PKGBUILD b/community/ruby-rdoc/PKGBUILD index e4a5d80a..472071e2 100644 --- a/community/ruby-rdoc/PKGBUILD +++ b/community/ruby-rdoc/PKGBUILD @@ -1,12 +1,16 @@ -# building with ruby-bootstrap in /opt/ruby-xxx, but install into /usr -# and depend on 'ruby' -makedepends=(ruby-bootstrap) - -# install to final destination in /usr and not into /opt/ruby-xxx +# 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 ' - s|local _gemdir.*|local _gemdir="/usr/lib/ruby/gems/3.0.0"|g + 3 i export RUBYLIB=/usr/lib/ruby/3.0.0/x86-linux ' )" diff --git a/community/ruby-reline/PKGBUILD b/community/ruby-reline/PKGBUILD index e4a5d80a..472071e2 100644 --- a/community/ruby-reline/PKGBUILD +++ b/community/ruby-reline/PKGBUILD @@ -1,12 +1,16 @@ -# building with ruby-bootstrap in /opt/ruby-xxx, but install into /usr -# and depend on 'ruby' -makedepends=(ruby-bootstrap) - -# install to final destination in /usr and not into /opt/ruby-xxx +# 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 ' - s|local _gemdir.*|local _gemdir="/usr/lib/ruby/gems/3.0.0"|g + 3 i export RUBYLIB=/usr/lib/ruby/3.0.0/x86-linux ' )" diff --git a/community/ruby-stringio/PKGBUILD b/community/ruby-stringio/PKGBUILD index 7f8a166a..472071e2 100644 --- a/community/ruby-stringio/PKGBUILD +++ b/community/ruby-stringio/PKGBUILD @@ -1,12 +1,16 @@ -# building with ruby-bootstrap in /opt/ruby-xxx, but install into /usr -# and depend on 'ruby' -makedepends+=(ruby-bootstrap ruby-rake-compiler-bootstrap) - -# install to final destination in /usr and not into /opt/ruby-xxx +# 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 ' - s|local _gemdir.*|local _gemdir="/usr/lib/ruby/gems/3.0.0"|g + 3 i export RUBYLIB=/usr/lib/ruby/3.0.0/x86-linux ' )" diff --git a/community/ruby-time/PKGBUILD b/community/ruby-time/PKGBUILD index e4a5d80a..472071e2 100644 --- a/community/ruby-time/PKGBUILD +++ b/community/ruby-time/PKGBUILD @@ -1,12 +1,16 @@ -# building with ruby-bootstrap in /opt/ruby-xxx, but install into /usr -# and depend on 'ruby' -makedepends=(ruby-bootstrap) - -# install to final destination in /usr and not into /opt/ruby-xxx +# 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 ' - s|local _gemdir.*|local _gemdir="/usr/lib/ruby/gems/3.0.0"|g + 3 i export RUBYLIB=/usr/lib/ruby/3.0.0/x86-linux ' )" diff --git a/community/ruby-tmpdir/PKGBUILD b/community/ruby-tmpdir/PKGBUILD index e4a5d80a..472071e2 100644 --- a/community/ruby-tmpdir/PKGBUILD +++ b/community/ruby-tmpdir/PKGBUILD @@ -1,12 +1,16 @@ -# building with ruby-bootstrap in /opt/ruby-xxx, but install into /usr -# and depend on 'ruby' -makedepends=(ruby-bootstrap) - -# install to final destination in /usr and not into /opt/ruby-xxx +# 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 ' - s|local _gemdir.*|local _gemdir="/usr/lib/ruby/gems/3.0.0"|g + 3 i export RUBYLIB=/usr/lib/ruby/3.0.0/x86-linux ' )" diff --git a/community/ruby-uri/PKGBUILD b/community/ruby-uri/PKGBUILD index e4a5d80a..472071e2 100644 --- a/community/ruby-uri/PKGBUILD +++ b/community/ruby-uri/PKGBUILD @@ -1,12 +1,16 @@ -# building with ruby-bootstrap in /opt/ruby-xxx, but install into /usr -# and depend on 'ruby' -makedepends=(ruby-bootstrap) - -# install to final destination in /usr and not into /opt/ruby-xxx +# 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 ' - s|local _gemdir.*|local _gemdir="/usr/lib/ruby/gems/3.0.0"|g + 3 i export RUBYLIB=/usr/lib/ruby/3.0.0/x86-linux ' )" -- cgit v1.2.3-54-g00ecf