Ignore:
Timestamp:
Oct 25, 2011, 11:24:51 PM (7 years ago)
Author:
ryandesign@…
Message:

flac: simplify setting archflags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/audio/flac/Portfile

    r82647 r86441  
    3636    if {[variant_isset universal]} {
    3737        system "cd ${worksrcpath} && ed - ${worksrcpath}/config.h < ${filespath}/config.h.ed && touch stamp-h1"
    38         set flags ${configure.universal_ldflags}
    39     } else {
    40         set flags ${configure.cc_archflags}
    4138    }
    42     reinplace "s|CC -dynamiclib|CC -dynamiclib ${flags}|g" ${worksrcpath}/libtool
     39    reinplace "s|CC -dynamiclib|CC -dynamiclib [get_canonical_archflags]|g" ${worksrcpath}/libtool
    4340}
    4441
Note: See TracChangeset for help on using the changeset viewer.