Ticket #19724: boost.universal.patch
File boost.universal.patch, 1.2 KB (added by harry@…, 15 years ago) |
---|
-
Portfile.
old new 20 20 platforms darwin 21 21 use_parallel_build yes 22 22 23 # not autoconf 24 universal_variant no 23 # bjam has universal binary support built in, no need to set universal flags 24 configure.universal_args {} 25 configure.universal_cflags {} 26 configure.universal_cppflags {} 27 configure.universal_cxxflags {} 28 configure.universal_ldflags {} 25 29 26 30 patchfiles patch-configure.diff 27 31 … … 69 73 if { [variant_isset debug] } { 70 74 append bjam_config " debug release" 71 75 } 76 if { [variant_isset universal] } { 77 # "architecture=combined" switches on ppc and i386 78 append bjam_config " architecture=combined" 79 if { [lsearch ${configure.universal_archs} "ppc64"] >= 0 || [lsearch ${configure.universal_archs} "x86_64"] >=0 } { 80 # in case of ppc64 or x86_64 architectures, we have to set address-model=32_64 81 # to enable 64 bit universal binaries 82 append bjam_config " address-model=32_64" 83 } 84 } 72 85 reinplace "s|__MACPORTS_BJAM_CONFIG__|${bjam_config}|" ${worksrcpath}/configure 73 86 } 74 87