diff options
author | Stanislav Sedov <stas@FreeBSD.org> | 2010-10-11 06:35:54 +0000 |
---|---|---|
committer | Stanislav Sedov <stas@FreeBSD.org> | 2010-10-11 06:35:54 +0000 |
commit | 014d1898d97338fcfcaab9ba0cdc7eba05a6a665 (patch) | |
tree | b4066352dfb719c54d03ba56c8242a8f02d15880 /lang/ruby19 | |
parent | - Drop maintainership. (diff) |
- Add forgotten ruby19 patch, which sets the correct library path.
Notes
Notes:
svn path=/head/; revision=262808
Diffstat (limited to 'lang/ruby19')
-rw-r--r-- | lang/ruby19/files/patch-tool_mkconfig.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lang/ruby19/files/patch-tool_mkconfig.rb b/lang/ruby19/files/patch-tool_mkconfig.rb new file mode 100644 index 000000000000..ea3071af69e7 --- /dev/null +++ b/lang/ruby19/files/patch-tool_mkconfig.rb @@ -0,0 +1,12 @@ +--- tool/mkconfig.rb.orig 2010-10-04 00:53:53.000000000 -0700 ++++ tool/mkconfig.rb 2010-10-04 00:55:18.000000000 -0700 +@@ -136,7 +136,8 @@ + + drive = File::PATH_SEPARATOR == ';' + +-prefix = "/lib/ruby/#{version}/#{arch}" ++major, minor, *rest = RUBY_VERSION.split('.') ++prefix = "/lib/ruby/#{major}.#{minor}/#{arch}" + print " TOPDIR = File.dirname(__FILE__).chomp!(#{prefix.dump})\n" + print " DESTDIR = ", (drive ? "TOPDIR && TOPDIR[/\\A[a-z]:/i] || " : ""), "'' unless defined? DESTDIR\n" + print " CONFIG = {}\n" |