Ticket #30807: lpeg.diff

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

proposed patch

  • Portfile

     
    2929use_configure       no
    3030
    3131variant universal {}
    32 if {[variant_isset universal]} {
    33     set archflags ${configure.universal_cflags}
    34 } else {
    35     set archflags ${configure.cc_archflags}
    36 }
    3732
    3833build.target
    39 build.args          CC="${configure.cc} ${archflags}" \
     34build.args          CC="${configure.cc} [get_canonical_archflags]" \
    4035                    LUADIR=${prefix}/include
    4136
    4237destroot {