$OpenBSD: patch-lib_rubygems_install_update_options_rb,v 1.2 2008/06/17 22:42:59 bernd Exp $

This is for GEM_SKIPDEPENDS in ruby.port.mk.

--- lib/rubygems/install_update_options.rb.orig	Sat Apr 19 14:51:46 2008
+++ lib/rubygems/install_update_options.rb	Sat Apr 19 14:52:29 2008
@@ -89,6 +89,11 @@ module Gem::InstallUpdateOptions
                'foo_exec18') do |value, options|
       options[:format_executable] = value
     end
+
+    add_option(:"Install/Update", '-S', '--skip-dependencies DEPENDENCIES',
+               'Skip the given dependencies') do |value, options|
+      options[:skip_dependencies] = value.split(' ')
+    end
   end
 
   # Default options for the gem install command.
