summaryrefslogtreecommitdiff
path: root/databases/ruby-tokyotyrant/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'databases/ruby-tokyotyrant/patches/patch-aa')
-rw-r--r--databases/ruby-tokyotyrant/patches/patch-aa18
1 files changed, 18 insertions, 0 deletions
diff --git a/databases/ruby-tokyotyrant/patches/patch-aa b/databases/ruby-tokyotyrant/patches/patch-aa
new file mode 100644
index 00000000000..3cb74733cdc
--- /dev/null
+++ b/databases/ruby-tokyotyrant/patches/patch-aa
@@ -0,0 +1,18 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/10/26 11:43:50 obache Exp $
+
+--- install.rb.orig 2008-10-26 08:13:27.000000000 +0000
++++ install.rb
+@@ -1,10 +1,13 @@
+ require 'rbconfig'
++require 'ftools'
+
+ sitelibdir = Config::CONFIG.fetch("sitelibdir")
+ bindir = Config::CONFIG.fetch("bindir")
+
+ def copy(src, dest, mode)
+ p dest
++ dest = File.join(ENV['DESTDIR'], dest)
++ File::makedirs(File.dirname(dest))
+ open(src, "rb") do |infile|
+ open(dest, "wb") do |outfile|
+ while buf = infile.read(8192)