#
# set -o errexit -o noglob are assumed.
#
pkg_ruby_install_pre() {
if [ ! -e rbconfig.rb.orig ]; then
sed -i.orig '/^\s*CONFIG\["prefix"\]\s*=.*$/s/=.*$/= ""/' \
rbconfig.rb;
fi;
};
pkg_ruby_host_install_pre() {
pkg_ruby_install_pre;
};
# vim:filetype=sh