Changeset 127773


Ignore:
Timestamp:
Nov 3, 2014, 8:38:48 PM (5 years ago)
Author:
ryandesign@…
Message:

rmtrash: ensure we're UsingTheRightCompiler (#45757) and fix/simplify handling of -arch flags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/rmtrash/Portfile

    r127772 r127773  
    3030use_configure   no
    3131
    32 build.args      CFLAGS="${configure.cflags}" LDFLAGS="-framework Foundation"
     32variant universal {}
     33
     34build.args      CC="${configure.cc}" \
     35                CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
     36                LDFLAGS="-framework Foundation [get_canonical_archflags ld]"
    3337
    3438destroot.destdir    DESTDIR=${destroot}${prefix}
    3539
    36 variant universal {
    37     build.args  CFLAGS="${configure.cflags} ${configure.universal_cflags}" LDFLAGS="-framework Foundation"
    38 }
    39 
    4040livecheck.type  regex
    4141livecheck.regex {/rmtrash.tar.gz.*\(v([0-9.]+)\)}
Note: See TracChangeset for help on using the changeset viewer.