It's no longer build +universal here:
/usr/bin/gcc-4.2 -ggdb3 -arch x86_64 -arch i386 -O2 -g -Wall -Wno-parentheses
-fno-common -pipe -fno-common -L. -L/opt/local/lib -arch x86_64 -arch i386
-L/usr/local/lib main.o -lruby1.9 -lpthread -ldl -lobjc -o ruby1.9
ld: warning: in ./libruby1.9.dylib, file is not of required architecture
Undefined symbols for architecture i386:
"_ruby_options", referenced from:
_main in main.o
"_ruby_sysinit", referenced from:
_main in main.o
"_ruby_init_stack", referenced from:
_main in main.o
"_ruby_run_node", referenced from:
_main in main.o
"_ruby_init", referenced from:
_main in main.o
ld: symbol(s) not found for architecture i386And looking through the build log, sure enough the arch flags were dropped: :info:build cc -dynamiclib -undefined suppress -flat_namespace -install_name /opt/local/lib/libruby1.9.dylib -current_version 1.9.1 -compatibility_version 1.9.1 dln. o encoding.o array.o bignum.o class.o compar.o complex.o dir.o enum.o enumerator.o error.o eval.o load.o proc.o file.o gc.o hash.o inits.o io.o marshal.o math.o numeric.o object.o pack.o parse.o process.o random.o range.o rational.o re.o regcomp.o regenc.o regerror.o regexec.o regparse.o regsyntax.o ruby.o safe.o signal.o sprintf.o st.o strftime.o string.o struct.o time.o transcode.o util.o variable.o version.o compile.o debug.o iseq.o vm.o vm_dump.o thread.o cont.o ascii.o us_ascii.o unicode.o utf_8.o newline.o prelude.o dmyext.o -o libruby1.9.1.9.1.dylib On Dec 6, 2009, at 22:51, [email protected] wrote: > Revision: 61254 > http://trac.macports.org/changeset/61254 > Author: [email protected] > Date: 2009-12-06 22:51:56 -0800 (Sun, 06 Dec 2009) > Log Message: > ----------- > update ruby19 to p376 > > Modified Paths: > -------------- > trunk/dports/lang/ruby19/Portfile > > Modified: trunk/dports/lang/ruby19/Portfile > =================================================================== > --- trunk/dports/lang/ruby19/Portfile 2009-12-07 03:37:52 UTC (rev 61253) > +++ trunk/dports/lang/ruby19/Portfile 2009-12-07 06:51:56 UTC (rev 61254) > @@ -2,60 +2,60 @@ > > PortSystem 1.0 > > -name ruby19 > -version 1.9.1-p243 > +name ruby19 > +version 1.9.1-p376 > > -categories lang ruby > -maintainers febeling openmaintainer > -platforms darwin > -description Powerful and clean object-oriented scripting language > +categories lang ruby > +maintainers febeling openmaintainer > +platforms darwin > +description Powerful and clean object-oriented scripting language > long_description Ruby is the interpreted scripting language for quick \ > - and easy object-oriented programming. It has many \ > - features to process text files and to do system \ > - management tasks (as in Perl). It is simple, \ > - straight-forward, extensible, and portable. \ > - Version 1.9 contains a new VM called YARV, is faster \ > - and slightly incompatible from version 1.8. > + and easy object-oriented programming. It has many \ > + features to process text files and to do system \ > + management tasks (as in Perl). It is simple, \ > + straight-forward, extensible, and portable. \ > + Version 1.9 contains a new VM called YARV, is faster \ > + and slightly incompatible from version 1.8. > > -homepage http://www.ruby-lang.org/ > +homepage http://www.ruby-lang.org/ > > master_sites ruby:1.9 > use_bzip2 yes > distname ruby-${version} > > -checksums md5 66d4f8403d13623051091347764881a0 > +checksums md5 e019ae9c643c5efe91be49e29781fb94 > use_parallel_build yes > > -depends_lib port:libiconv \ > - port:readline \ > - port:openssl \ > - port:zlib \ > - port:ncurses > +depends_lib port:libiconv \ > + port:readline \ > + port:openssl \ > + port:zlib \ > + port:ncurses > > configure.args --enable-shared \ > - --mandir="${prefix}/share/man" \ > - --enable-pthread \ > - --without-tk \ > - --program-suffix=1.9 > + --mandir="${prefix}/share/man" \ > + --enable-pthread \ > + --without-tk \ > + --program-suffix=1.9 > > # Ignore minor version for archdir, like i686-darwin9. > # Port "ruby" does the same. > -configure.env UNAME_RELEASE=${os.major} > +configure.env UNAME_RELEASE=${os.major} > > post-destroot { > - foreach type {site vendor} { > - set libdir ${destroot}${prefix}/lib/ruby1.9/${type}_ruby > - xinstall -m 0755 -d ${libdir} > - xinstall -m 0644 ${filespath}/${type}-specific.rb ${libdir} > - } > + foreach type {site vendor} { > + set libdir ${destroot}${prefix}/lib/ruby1.9/${type}_ruby > + xinstall -m 0755 -d ${libdir} > + xinstall -m 0644 ${filespath}/${type}-specific.rb ${libdir} > + } > > - foreach subdir [exec find ${libdir} -type d -empty] { > - destroot.keepdirs-append ${subdir} > - } > + foreach subdir [exec find ${libdir} -type d -empty] { > + destroot.keepdirs-append ${subdir} > + } > } > > variant nosuffix description "Don't add the 1.9 program suffix to the > executables. Note: that makes the port conflict with ruby (1.8), rb-rubygems, > and rb-rake ports." { > - configure.args-delete --program-suffix=1.9 > + configure.args-delete --program-suffix=1.9 > } > > variant c_api_docs description "Generate documentation for Ruby C API" { > @@ -79,15 +79,15 @@ > } > > variant tk conflicts mactk description "Build using MacPorts Tk" { > - configure.args-delete --without-tk > - configure.args-append --with-tk > - depends_lib-append port:tcl \ > - port:tk > + configure.args-delete --without-tk > + configure.args-append --with-tk > + depends_lib-append port:tcl \ > + port:tk > } > > variant mactk conflicts tk description "Build using Mac OS X Tk Framework" { > - configure.args-delete --without-tk > - configure.args-append --enable-tcltk-framework > + configure.args-delete --without-tk > + configure.args-append --enable-tcltk-framework > } > > livecheck.type regex > _______________________________________________ > macports-changes mailing list > [email protected] > http://lists.macosforge.org/mailman/listinfo.cgi/macports-changes
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ macports-dev mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
