pkgsrc/lang/ruby200-base/patches/patch-tool_rbinstall.rb
taca ea98d4c53f Add ruby200-base-2.0.0p247.
This is latest stable release of Ruby and it basically compatible with
Ruby 1.9.3.  Please refer full changes to NEWS/ChangeLog files or official
Web site.  Here is language changes:

* Added keyword arguments.

* Added %i and %I for symbol list creation (similar to %w and %W).

* Default source encoding is changed to UTF-8. (was US-ASCII)

* No warning for unused variables starting with '_'
2013-07-21 02:32:58 +00:00

15 lines
553 B
Ruby

$NetBSD: patch-tool_rbinstall.rb,v 1.1 2013/07/21 02:32:58 taca Exp $
* Don't install which has already ${RUBY_VER} suffix.
--- tool/rbinstall.rb.orig 2013-02-07 08:02:31.000000000 +0000
+++ tool/rbinstall.rb
@@ -213,7 +213,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 *200"
prune = path_matcher(prune)
skip = path_matcher(skip)
File.directory?(srcdir) or return rescue return