diff options
Diffstat (limited to 'lang/ruby19-base/patches/patch-ah')
-rw-r--r-- | lang/ruby19-base/patches/patch-ah | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lang/ruby19-base/patches/patch-ah b/lang/ruby19-base/patches/patch-ah new file mode 100644 index 00000000000..b6098ec551e --- /dev/null +++ b/lang/ruby19-base/patches/patch-ah @@ -0,0 +1,18 @@ +$NetBSD: patch-ah,v 1.1.1.1 2010/09/12 03:50:06 taca Exp $ + +Add install_root option for pkgsrc's rubygems support. + +--- lib/rubygems/commands/uninstall_command.rb.orig 2009-10-02 10:45:39.000000000 +0000 ++++ lib/rubygems/commands/uninstall_command.rb +@@ -21,6 +21,11 @@ class Gem::Commands::UninstallCommand < + options[:all] = 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_option('-I', '--[no-]ignore-dependencies', + 'Ignore dependency requirements while', + 'uninstalling') do |value, options| |