summaryrefslogtreecommitdiffhomepage
path: root/vars/ruby.vars
blob: 00491d52c652ae643a8cbdf03cebaad29492cab6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#
# set +o errexit -o noglob -o nounset is 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 textwidth=0