--- ruby-1.8.7-p299/configure.in.orig 2010-06-24 16:09:00.000000000 -0400 +++ ruby-1.8.7-p299/configure.in 2010-06-24 16:09:13.000000000 -0400 @@ -1802,6 +1802,8 @@ AC_SUBST(vendordir)dnl configure_args=$ac_configure_args AC_SUBST(configure_args)dnl +target_cpu=`echo $target_cpu | sed s/i.86/i386/` + if test "$fat_binary" != no ; then arch="fat-${target_os}"