Ticket #18963: Portfile.diff
File Portfile.diff, 1.3 KB (added by guidolorenz@…, 16 years ago) |
---|
-
Portfile
old new 20 20 platforms darwin 21 21 use_parallel_build yes 22 22 23 # not autoconf24 universal_variant no25 26 23 patchfiles patch-configure.diff 27 24 28 25 depends_build path:bin/bjam:boost-jam … … 69 66 if { [variant_isset debug] } { 70 67 append bjam_config " debug release" 71 68 } 69 if { [variant_isset universal] } { 70 if { [lsearch ${universal_archs} ppc*] >= 0 } { 71 if { [lsearch ${universal_archs} *86*] >= 0 } { 72 append bjam_config " architecture=combined" 73 } else { 74 append bjam_config " architecture=power" 75 } 76 } else { 77 append bjam_config " architecture=x86" 78 } 79 if { [lsearch ${universal_archs} *64] >= 0 } { 80 if { [lsearch ${universal_archs} i386] >= 0 || [lsearch ${universal_archs} ppc] >= 0 } { 81 append bjam_config " address-model=32_64" 82 } else { 83 append bjam_config " address-model=64" 84 } 85 } else { 86 append bjam_config " address-model=32" 87 } 88 } 72 89 reinplace "s|__MACPORTS_BJAM_CONFIG__|${bjam_config}|" ${worksrcpath}/configure 73 90 } 74 91 … … 184 201 variant debug description {build debug libraries} {} 185 202 186 203 variant st description {build single-threaded libraries} {} 204 205 variant universal description {build universal binary libraries} {}