[112773] trunk/dports/_resources/port1.0/group/ruby-1.0.tcl
kimuraw at macports.org
kimuraw at macports.org
Thu Oct 31 08:02:27 PDT 2013
Revision: 112773
https://trac.macports.org/changeset/112773
Author: kimuraw at macports.org
Date: 2013-10-31 08:02:27 -0700 (Thu, 31 Oct 2013)
Log Message:
-----------
group/ruby-1.0.tcl: refactored setting ${ruby.gemdir} to fix #41050
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 2013-10-31 13:19:04 UTC (rev 112772)
+++ trunk/dports/_resources/port1.0/group/ruby-1.0.tcl 2013-10-31 15:02:27 UTC (rev 112773)
@@ -83,13 +83,11 @@
set ruby.gem ${prefix}/bin/gem${ruby.branch}
set ruby.rake ${prefix}/bin/rake${ruby.branch}
set ruby.bindir ${prefix}/libexec/ruby${ruby.branch}
- set ruby.gemdir ${prefix}/lib/ruby${ruby.branch}/gems/${ruby.api_version}
- # gem command for 1.8 from port:rb-rubygems
- # rake command for 1.8 from port:rb-rake
+ default ruby.gemdir {[exec ${ruby.gem} environment gemdir]}
+ # gem, rake command for 1.8 from port:rb-rubygems, port:rb-rake
if {${ruby.branch} eq "1.8"} {
set ruby.gem ${ruby.bindir}/gem
set ruby.rake ${ruby.bindir}/rake
- set ruby.gemdir ${prefix}/lib/ruby/gems/${ruby.api_version}
}
set ruby.suffix [join [split ${ruby.branch} .] {}]
if {${ruby.branch} eq "1.8"} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131031/4d239bdd/attachment-0001.html>
More information about the macports-changes
mailing list