summaryrefslogtreecommitdiff
path: root/misc/rubygems/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'misc/rubygems/patches/patch-af')
-rw-r--r--misc/rubygems/patches/patch-af16
1 files changed, 16 insertions, 0 deletions
diff --git a/misc/rubygems/patches/patch-af b/misc/rubygems/patches/patch-af
new file mode 100644
index 00000000000..cca1568446e
--- /dev/null
+++ b/misc/rubygems/patches/patch-af
@@ -0,0 +1,16 @@
+$NetBSD: patch-af,v 1.1 2008/03/31 15:40:43 jlam Exp $
+
+--- lib/rubygems/commands/uninstall_command.rb.orig 2008-02-23 21:26:47.000000000 -0500
++++ lib/rubygems/commands/uninstall_command.rb
+@@ -40,6 +40,11 @@ module Gem
+ options[:bin_dir] = File.expand_path(value)
+ end
+
++ add_option('-B', '--install-root DIR',
++ 'Root directory for gem files') do |value, options|
++ options[:install_root] = File.expand_path(value)
++ end
++
+ add_version_option
+ add_platform_option
+ end