diff options
author | thierry <thierry@FreeBSD.org> | 2004-08-25 03:53:00 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2004-08-25 03:53:00 +0800 |
commit | df956d738514118489906740d500bc541bfbb425 (patch) | |
tree | fd55afc4077433a21ea6dae91aa35996da315a7f /devel/freebase/files/patch-freebase:bin:install.rb | |
parent | c81f2e2cb0c3951a5256b874cacddf64e1d8115a (diff) | |
download | freebsd-ports-gnome-df956d738514118489906740d500bc541bfbb425.tar.gz freebsd-ports-gnome-df956d738514118489906740d500bc541bfbb425.tar.zst freebsd-ports-gnome-df956d738514118489906740d500bc541bfbb425.zip |
Upgrade to 0.7.0.
PR: 70910
Submitted by: maintainer.
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" |