Changeset 94399


Ignore:
Timestamp:
Jun 17, 2012, 10:59:25 PM (8 years ago)
Author:
ryandesign@…
Message:

alpine: ensure we're UsingTheRightCompiler; simplify getting -arch flags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/mail/alpine/Portfile

    r94385 r94399  
    6060  --with-debug-level=0
    6161
     62variant universal {}
     63
    6264build.args \
     65  CC=${configure.cc} \
     66  EXTRACFLAGS="[get_canonical_archflags cc]" \
     67  EXTRALDFLAGS="[get_canonical_archflags ld]" \
    6368  SPECIALS="GSSDIR=${prefix} SSLDIR=${prefix}"
    64 if {[variant_isset universal]} {
    65   build.args-append \
    66     EXTRACFLAGS="${configure.universal_cflags}" \
    67     EXTRALDFLAGS="${configure.universal_ldflags}"
    68 } else {
    69   build.args-append \
    70     EXTRACFLAGS="${configure.cc_archflags}" \
    71     EXTRALDFLAGS="${configure.ld_archflags}"
    72 }
    7369
    7470variant without_krb5 description {Disable Kerberos5 support} {
Note: See TracChangeset for help on using the changeset viewer.