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