Hi, It's a quick hack to fix #27804. As you say, we should support this feature in portgroup ruby.
FYI, ruby19 (1.9.2 or later) supports building universal binaries by its extconf.rb/mkmf.rb system. most of libraries and gems work fine as universal with ruby19+universal. On Sat, 1 Jan 2011 20:54:56 -0600, Ryan Schmidt wrote: > On Dec 30, 2010, at 11:14, [email protected] wrote: > >> Revision: 74719 >> http://trac.macports.org/changeset/74719 >> Author: [email protected] >> Date: 2010-12-30 09:14:22 -0800 (Thu, 30 Dec 2010) >> Log Message: >> ----------- >> ruby/rb-rcairo: enable universal variant >> >> +# run extconf.rb with each arch `ruby' >> +use_parallel_build no >> +post-configure { >> + if {[variant_isset universal]} { >> + foreach arch ${universal_archs} { >> + system "/usr/bin/arch -arch ${arch} ${ruby.bin} -C >> ${worksrcpath}-${arch}/ext/cairo extconf.rb --vendor" >> + } >> + } >> +} > > I've seen you add this chunk of code to several ruby ports now. Is > this something that is applicable to all ruby ports? if so, should it > go into the ruby portgroup instead of into each portfile? > -- kimura wataru _______________________________________________ macports-dev mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
