- Add forgotten ruby19 patch, which sets the correct library path.
This commit is contained in:
parent
24e9987ff2
commit
014d1898d9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=262808
1 changed files with 12 additions and 0 deletions
12
lang/ruby19/files/patch-tool_mkconfig.rb
Normal file
12
lang/ruby19/files/patch-tool_mkconfig.rb
Normal file
|
@ -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"
|
Loading…
Reference in a new issue