Changeset 152309


Ignore:
Timestamp:
Sep 3, 2016, 11:03:40 AM (3 years ago)
Author:
mcalhoun@…
Message:

lz4: fix universal build (#47659)
no revbump since port builds successfully or not at all

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/archivers/lz4/Portfile

    r143181 r152309  
    44PortSystem          1.0
    55PortGroup           github 1.0
     6PortGroup           muniversal 1.0
    67
    78github.setup        Cyan4973 lz4 r131
     
    2728use_configure       no
    2829
    29 variant universal   {}
    30 build.args-append   CC="${configure.cc} [get_canonical_archflags cc]" PREFIX=${prefix}
    31 destroot.args-append CC="${configure.cc} [get_canonical_archflags cc]" PREFIX=${prefix}
     30build.args-append    PREFIX=${prefix}
     31destroot.args-append PREFIX=${prefix}
     32
     33if { ![variant_isset universal] } {
     34    build.args-append    CC="${configure.cc} [get_canonical_archflags cc]"
     35    destroot.args-append CC="${configure.cc} [get_canonical_archflags cc]"
     36} else {
     37    foreach arch ${configure.universal_archs} {
     38        lappend merger_build_args(${arch})    CC='${configure.cc} -arch ${arch}'
     39        lappend merger_destroot_args(${arch}) CC='${configure.cc} -arch ${arch}'
     40    }
     41}
Note: See TracChangeset for help on using the changeset viewer.