aboutsummaryrefslogtreecommitdiff
path: root/www/ruby-div
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2011-07-03 17:24:40 +0000
committerSteve Wills <swills@FreeBSD.org>2011-07-03 17:24:40 +0000
commit891d10f377d5bff8f5fe01357e5b4b4087aca8e1 (patch)
tree0ebe714ed1e5d667e82630a9a5e7a0d3254881f3 /www/ruby-div
parentae43f6903cad3fc5a1a892e8be10b29a7907c28e (diff)
downloadports-891d10f377d5bff8f5fe01357e5b4b4087aca8e1.tar.gz
ports-891d10f377d5bff8f5fe01357e5b4b4087aca8e1.zip
Notes
Diffstat (limited to 'www/ruby-div')
-rw-r--r--www/ruby-div/files/patch-install_rb25
1 files changed, 25 insertions, 0 deletions
diff --git a/www/ruby-div/files/patch-install_rb b/www/ruby-div/files/patch-install_rb
new file mode 100644
index 000000000000..208196abc29e
--- /dev/null
+++ b/www/ruby-div/files/patch-install_rb
@@ -0,0 +1,25 @@
+--- install.rb.orig 2003-08-13 11:18:29.000000000 -0400
++++ install.rb 2011-07-03 13:07:28.883509392 -0400
+@@ -1,6 +1,6 @@
+ require 'rbconfig'
+ require 'find'
+-require 'ftools'
++require 'fileutils'
+
+ include Config
+
+@@ -30,12 +30,12 @@
+ for f in dir
+ next if f == "."
+ next if f == "CVS"
+- File::makedirs(File.join(destdir, f))
++ FileUtils.mkdir_p(File.join(destdir, f))
+ end
+ for f in path
+ next if (/\~$/ =~ f)
+ next if (/^\./ =~ File.basename(f))
+- File::install(File.join("lib", f), File.join(destdir, f), 0644, true)
++ FileUtils::install(File.join("lib", f), File.join(destdir, f), :mode => 0644)
+ end
+ end
+