Ticket #15496: llvm-universal.diff
File llvm-universal.diff, 1010 bytes (added by ryandesign (Ryan Carsten Schmidt), 15 years ago) |
---|
-
Portfile
1 1 # $Id$ 2 2 3 3 PortSystem 1.0 4 PortGroup muniversal 1.0 4 5 5 6 name llvm 6 7 version 2.6 … … 22 23 23 24 depends_lib path:bin/perl:perl5 24 25 25 universal_variant no26 27 26 configure.dir ${workpath}/build 28 27 build.dir ${configure.dir} 29 28 destroot.dir ${configure.dir} … … 42 41 --enable-bindings=none \ 43 42 --disable-assertions 44 43 45 if {[info exists build_arch] && ${os.platform} == "darwin"} { 44 if {[variant_isset universal]} { 45 foreach arch ${configure.universal_archs} { 46 set merger_configure_args(${arch}) --build=${arch}-apple-darwin${os.major} 47 } 48 } elseif {[info exists build_arch] && ${os.platform} == "darwin"} { 46 49 configure.args-append --build=${build_arch}-apple-darwin${os.major} 47 50 } 48 51