Ticket #30806: tinycdb.diff

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

proposed patch

  • Portfile

     
    2121use_configure   no
    2222
    2323variant universal {}
    24 if {[variant_isset universal]} {
    25     set archflags ${configure.universal_cflags}
    26 } else {
    27     set archflags ${configure.cc_archflags}
    28 }
    2924
    3025build.args          CC="${configure.cc}" \
    31                     CFLAGS="${configure.cflags} ${archflags}"
     26                    CFLAGS="${configure.cflags} [get_canonical_archflags]"
    3227
    3328destroot.args-append    prefix=${prefix} mandir=${prefix}/share/man