pkgsrc/lang/ruby21-base/patches/patch-tool_rbinstall.rb
taca 2f72af218d Add ruby21-base, base of Ruby 2.1.1. Ruby 2.1.1 is second release of
Ruby 2.1, post release of Ruby 2.0.

*WARNING!* Not all of ruby pkgsrc are supported yet.

Ruby 2.1 has many improvements including speedup without severe
incompatibilities. You can use this on Rails and other applications, and get a
more comfortable experience.

This release includes many bugfixes. See tickets and ChangeLog for details.

Following the previously announced changed versioning policy of Ruby 2.1, this
version is simply called ¡È2.1.1¡É.

Update: We¡Çve noticed a regression in Hash#reject. For more details, see:
Regression of Hash#reject in Ruby 2.1.1.
2014-03-14 19:40:47 +00:00

15 lines
553 B
Ruby

$NetBSD: patch-tool_rbinstall.rb,v 1.1 2014/03/14 19:40:47 taca Exp $
* Don't install which has already ${RUBY_VER} suffix.
--- tool/rbinstall.rb.orig 2013-11-09 16:37:46.000000000 +0000
+++ tool/rbinstall.rb
@@ -222,7 +222,7 @@ def install_recursive(srcdir, dest, opti
end
end
end
- skip |= %w"#*# *~ *.old *.bak *.orig *.rej *.diff *.patch *.core"
+ skip |= %w"#*# *~ *.old *.bak *.orig *.rej *.diff *.patch *.core *210"
prune = path_matcher(prune)
skip = path_matcher(skip)
File.directory?(srcdir) or return rescue return