lang/ruby19: fix #22866, ruby19 +universal not works.
the configure option "--with-arch" introduced at 1.9.2 enables
universal binaries. like this:
./configure --with-arch=i386,x86_64
--- trunk/dports/lang/ruby19/Portfile 2010-08-29 02:35:54 UTC (rev 70987)
+++ trunk/dports/lang/ruby19/Portfile 2010-08-29 04:14:54 UTC (rev 70988)
@@ -104,6 +104,10 @@
configure.args-append --enable-tcltk-framework
}
+variant universal {
+ configure.args-append --with-arch=[join ${universal_archs} ,]
+}
+
livecheck.type regex
livecheck.url http://ftp.ruby-lang.org/pub/ruby/1.9/
livecheck.regex ruby-(${version})${extract.suffix}