Ignore:
Timestamp:
Oct 31, 2013, 3:02:27 PM (6 years ago)
Author:
kimuraw@…
Message:

group/ruby-1.0.tcl: refactored setting ${ruby.gemdir} to fix #41050

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/ruby-1.0.tcl

    r112688 r112773  
    8484    set ruby.rake           ${prefix}/bin/rake${ruby.branch}
    8585    set ruby.bindir         ${prefix}/libexec/ruby${ruby.branch}
    86     set ruby.gemdir         ${prefix}/lib/ruby${ruby.branch}/gems/${ruby.api_version}
    87     # gem command for 1.8 from port:rb-rubygems
    88     # rake command for 1.8 from port:rb-rake
     86    default ruby.gemdir     {[exec ${ruby.gem} environment gemdir]}
     87    # gem, rake command for 1.8 from port:rb-rubygems, port:rb-rake
    8988    if {${ruby.branch} eq "1.8"} {
    9089        set ruby.gem        ${ruby.bindir}/gem
    9190        set ruby.rake       ${ruby.bindir}/rake
    92         set ruby.gemdir     ${prefix}/lib/ruby/gems/${ruby.api_version}
    9391    }
    9492    set ruby.suffix         [join [split ${ruby.branch} .] {}]
Note: See TracChangeset for help on using the changeset viewer.