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