Ticket #30802: pianobar.diff

File pianobar.diff, 701 bytes (added by ryandesign (Ryan Carsten Schmidt), 13 years ago)

proposed patch

  • Portfile

     
    3232use_configure               no
    3333
    3434variant universal {}
    35 if {[variant_isset universal]} {
    36     set archflags ${configure.universal_cflags}
    37 } else {
    38     set archflags ${configure.cc_archflags}
    39 }
    4035
    4136build.target                ${name}
    4237
    43 build.args                  CC="${configure.cc} ${archflags}" \
     38build.args                  CC="${configure.cc} [get_canonical_archflags]" \
    4439                            PREFIX=${prefix} \
    4540                            CFLAGS=-std=c99 \
    4641                            LIBAO_INCLUDE=${prefix}/include \