diff options
Diffstat (limited to 'devel/freebase/files/patch-freebase:bin:install.rb')
-rw-r--r-- | devel/freebase/files/patch-freebase:bin:install.rb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/freebase/files/patch-freebase:bin:install.rb b/devel/freebase/files/patch-freebase:bin:install.rb new file mode 100644 index 000000000000..6399ff2c8225 --- /dev/null +++ b/devel/freebase/files/patch-freebase:bin:install.rb @@ -0,0 +1,16 @@ +--- bin/install.rb.orig Tue Aug 24 18:05:55 2004 ++++ bin/install.rb Tue Aug 24 18:22:07 2004 +@@ -10,12 +10,7 @@ + $version = CONFIG["MAJOR"]+"."+CONFIG["MINOR"] + $libdir = File.join(CONFIG["libdir"], "ruby", $version) + $archdir = File.join($libdir, CONFIG["arch"]) +-$site_libdir = $:.find {|x| x =~ /site_ruby$/} +-if !$site_libdir +- $site_libdir = File.join($libdir, "site_ruby") +-elsif $site_libdir !~ Regexp.quote($version) +- $site_libdir = File.join($site_libdir, $version) +-end ++$site_libdir = CONFIG["sitelibdir"] + + def install_rb(srcdir = nil) + libdir = "lib" |