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 > > Modified Paths: > -------------- > trunk/dports/ruby/rb-rcairo/Portfile > > Modified: trunk/dports/ruby/rb-rcairo/Portfile > =================================================================== > --- trunk/dports/ruby/rb-rcairo/Portfile 2010-12-30 16:48:28 UTC (rev > 74718) > +++ trunk/dports/ruby/rb-rcairo/Portfile 2010-12-30 17:14:22 UTC (rev > 74719) > @@ -1,9 +1,11 @@ > # $Id$ > > PortSystem 1.0 > +PortGroup muniversal 1.0 > PortGroup ruby 1.0 > > ruby.setup rcairo 1.10.0 extconf.rb {README.rdoc COPYING GPL > samples doc} > +revision 1 > maintainers kimuraw > description Ruby bindings for cairo > long_description \ > @@ -24,6 +26,16 @@ > master_sites http://cairographics.org/releases/ > license Ruby > > +# 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? _______________________________________________ macports-dev mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
