Ticket #14064: universal_build_boost.diff

File universal_build_boost.diff, 716 bytes (added by illogical1@…, 16 years ago)
  • boost/Portfile

    old new  
    100100
    101101configure.args          --without-libraries=python --without-icu --with-bjam=${prefix}/bin/bjam
    102102
     103post-configure {
     104        if {[variant_isset universal]} {
     105                reinplace "s|using darwin.*|using darwin : : : <compileflags>\"-arch ppc -arch i386\" <linkflags>\"-arch ppc -arch i386\" ;|" ${worksrcpath}/user-config.jam
     106        }
     107}
     108
     109variant universal {}
     110
    103111variant python24 conflicts python25 {
    104112        set pyversion           2.4
    105113        depends_lib-append      lib:libpython${pyversion}:python[strsed ${pyversion} {g/[.]//}]