[96656] trunk/dports/_resources/port1.0/group/ruby-1.0.tcl
kimuraw at macports.org
kimuraw at macports.org
Thu Aug 16 05:00:17 PDT 2012
Revision: 96656
https://trac.macports.org/changeset/96656
Author: kimuraw at macports.org
Date: 2012-08-16 05:00:15 -0700 (Thu, 16 Aug 2012)
Log Message:
-----------
group/ruby-1.0.tcl: Fix #34202. "Config" was obsoleted in ruby-1.9.
Modified Paths:
--------------
trunk/dports/_resources/port1.0/group/ruby-1.0.tcl
Modified: trunk/dports/_resources/port1.0/group/ruby-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/ruby-1.0.tcl 2012-08-16 11:24:49 UTC (rev 96655)
+++ trunk/dports/_resources/port1.0/group/ruby-1.0.tcl 2012-08-16 12:00:15 UTC (rev 96656)
@@ -39,7 +39,7 @@
proc ruby.extract_config {var {default ""}} {
global ruby.bin
- if {[catch {set val [exec ${ruby.bin} -e "require 'rbconfig';puts Config::CONFIG\[\"${var}\"\]"]}]} {
+ if {[catch {set val [exec ${ruby.bin} -e "require 'rbconfig';puts RbConfig::CONFIG\[\"${var}\"\]"]}]} {
set val ${default}
}
return $val
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120816/39110e55/attachment-0001.html>
More information about the macports-changes
mailing list