Ignore:
Timestamp:
Jun 27, 2012, 11:39:23 PM (8 years ago)
Author:
ryandesign@…
Message:

osh: ensure we're UsingTheRightCompiler and -arch flags (#34922)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/shells/osh/Portfile

    r94427 r94735  
    2929build.args      PREFIX=${prefix}
    3030
     31# Ensure use of the correct build utilities.
     32build.args-append       CC=${configure.cc} CPP=${configure.cpp}
     33
     34variant universal {}
     35
     36# Ensure use of the correct build_arch.
     37build.args-append       CFLAGS="[get_canonical_archflags cc]" \
     38                        LDFLAGS="[get_canonical_archflags ld]"
     39
    3140destroot.args   PREFIX=${prefix}
    3241destroot.target install install-doc install-exp
    33 
    34 variant universal {
    35         build.args-append       CFLAGS="${configure.universal_cflags}" \
    36                                 LDFLAGS="${configure.universal_ldflags}"
    37 }
    3842
    3943livecheck.type  regex
Note: See TracChangeset for help on using the changeset viewer.