mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
ruby: remove references to XBPS_WRAPPERDIR in rbconfig.rb.
Fixes building external gems, as reported by arete74 on irc.
This commit is contained in:
parent
eea4d25343
commit
8e00d7f3bc
1 changed files with 4 additions and 1 deletions
|
@ -3,7 +3,7 @@ _ruby_abiver=2.2.0
|
||||||
|
|
||||||
pkgname=ruby
|
pkgname=ruby
|
||||||
version=2.2.2
|
version=2.2.2
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-shared --disable-rpath
|
configure_args="--enable-shared --disable-rpath
|
||||||
DOXYGEN=/usr/bin/doxygen DOT=/usr/bin/dot PKG_CONFIG=/usr/bin/pkg-config"
|
DOXYGEN=/usr/bin/doxygen DOT=/usr/bin/dot PKG_CONFIG=/usr/bin/pkg-config"
|
||||||
|
@ -32,6 +32,9 @@ post_install() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
sed -e "s,${XBPS_CROSS_TRIPLET}-,,g" -i ${DESTDIR}/usr/lib/ruby/${_ruby_abiver}/*/rbconfig.rb
|
sed -e "s,${XBPS_CROSS_TRIPLET}-,,g" -i ${DESTDIR}/usr/lib/ruby/${_ruby_abiver}/*/rbconfig.rb
|
||||||
fi
|
fi
|
||||||
|
# Replace reference to the install(1) wrapper
|
||||||
|
sed -e "s,${XBPS_WRAPPERDIR},/usr/bin,g" -i \
|
||||||
|
${DESTDIR}/usr/lib/ruby/${_ruby_abiver}/*/rbconfig.rb
|
||||||
}
|
}
|
||||||
|
|
||||||
ruby-devel-docs_package() {
|
ruby-devel-docs_package() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue