aboutsummaryrefslogtreecommitdiffstats
path: root/devel/freebase/files/patch-freebase:bin:install.rb
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2004-08-25 03:53:00 +0800
committerthierry <thierry@FreeBSD.org>2004-08-25 03:53:00 +0800
commitdf956d738514118489906740d500bc541bfbb425 (patch)
treefd55afc4077433a21ea6dae91aa35996da315a7f /devel/freebase/files/patch-freebase:bin:install.rb
parentc81f2e2cb0c3951a5256b874cacddf64e1d8115a (diff)
downloadfreebsd-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.rb16
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"