Import polish/fortunepl version 20091121
[dports.git] / mail / ruby-rmail / files / patch-install.rb
1 --- install.rb.orig     2016-02-03 17:53:10.253692000 +0000
2 +++ install.rb  2016-02-03 17:53:44.504039000 +0000
3 @@ -45,7 +45,7 @@
4  
5  class ConfigTable
6  
7 -  c = ::Config::CONFIG
8 +  c = ::RbConfig::CONFIG
9  
10    rubypath = c['bindir'] + '/' + c['ruby_install_name']
11  
12 @@ -692,7 +692,7 @@
13          "no extention exists: Have you done 'ruby #{$0} setup' ?"
14    end
15  
16 -  DLEXT = /\.#{ ::Config::CONFIG['DLEXT'] }\z/
17 +  DLEXT = /\.#{ ::RbConfig::CONFIG['DLEXT'] }\z/
18  
19    def _allext( dir )
20      Dir.open(dir) {|d|