Ignore:
Timestamp:
Apr 23, 2010, 9:00:36 AM (8 years ago)
Author:
ryandesign@…
Message:

flac: fix build when ${build_arch} is changed

File:
1 edited

Legend:

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

    r46660 r66830  
    3333post-configure {
    3434    if {[variant_isset universal]} {
    35         reinplace "s|CC -dynamiclib|CC -dynamiclib ${configure.universal_ldflags}|g" ${worksrcpath}/libtool
    3635        system "cd ${worksrcpath} && ed - ${worksrcpath}/config.h < ${filespath}/config.h.ed && touch stamp-h1"
     36        set flags ${configure.universal_ldflags}
     37    } else {
     38        set flags ${configure.cc_archflags}
    3739    }
     40    reinplace "s|CC -dynamiclib|CC -dynamiclib ${flags}|g" ${worksrcpath}/libtool
    3841}
    3942
Note: See TracChangeset for help on using the changeset viewer.