Ticket #12317: ruby-group_gems_get_universal_if_ruby_is_universal.diff
File ruby-group_gems_get_universal_if_ruby_is_universal.diff, 1.0 KB (added by eloy.de.enige@…, 17 years ago) |
---|
-
src/port1.0/resources/group/ruby-1.0.tcl
109 109 livecheck.check regex 110 110 livecheck.url http://rubyforge.org/projects/${ruby.project} 111 111 livecheck.regex "<strong>${ruby.module}</strong></td><td>(?:REL )?(.*)$" 112 if {[regexp {i386.+ppc} [exec /usr/bin/file ${prefix}/bin/ruby]]} { 113 default_variants +universal 114 } 115 variant universal {} 112 116 } 113 117 rubyforge_gem { 114 118 homepage http://rubyforge.org/projects/${ruby.project} … … 116 120 livecheck.check regex 117 121 livecheck.url http://rubyforge.org/projects/${ruby.project} 118 122 livecheck.regex "<strong>${ruby.module}</strong></td><td>(?:REL )?(.*)$" 123 if {[regexp {i386.+ppc} [exec /usr/bin/file ${prefix}/bin/ruby]]} { 124 default_variants +universal 125 } 126 variant universal {} 119 127 } 120 128 sourceforge:* { 121 129 set ruby.project [lindex [split ${source} {:}] 1]