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