summaryrefslogtreecommitdiff
path: root/lang/ruby/files/rbconfig_fix.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ruby/files/rbconfig_fix.rb')
-rw-r--r--lang/ruby/files/rbconfig_fix.rb20
1 files changed, 0 insertions, 20 deletions
diff --git a/lang/ruby/files/rbconfig_fix.rb b/lang/ruby/files/rbconfig_fix.rb
deleted file mode 100644
index ba837ae..0000000
--- a/lang/ruby/files/rbconfig_fix.rb
+++ /dev/null
@@ -1,20 +0,0 @@
1install = '/usr/bin/install INSTALL_ARGS'
2c = RbConfig::CONFIG
3m = RbConfig::MAKEFILE_CONFIG
4if v = ENV['BSD_INSTALL_SCRIPT']
5 m['INSTALL'] = c['INSTALL'] = v.sub('-m 755', '')
6 m['INSTALL_SCRIPT'] = c['INSTALL_SCRIPT'] = v
7else
8 m['INSTALL'] = c['INSTALL'] = "#{install}"
9 m['INSTALL_SCRIPT'] = c['INSTALL_SCRIPT'] = "#{install} -m 755"
10end
11if v = ENV['BSD_INSTALL_PROGRAM']
12 m['INSTALL_PROGRAM'] = c['INSTALL_PROGRAM'] = v
13else
14 m['INSTALL_PROGRAM'] = c['INSTALL_PROGRAM'] = "#{install} -s -m 755"
15end
16if v = ENV['BSD_INSTALL_DATA']
17 m['INSTALL_DATA'] = c['INSTALL_DATA'] = v
18else
19 m['INSTALL_DATA'] = c['INSTALL_DATA'] = "#{install} -m 644"
20end