New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 82709


Ignore:
Timestamp:
08/18/11 13:19:13 (4 years ago)
Author:
ryandesign@…
Message:

lua50: simplify setting archflags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/lang/lua50/Portfile

    r78336 r82709  
    2626        reinplace s|@DESTROOT@|${destroot}| ${worksrcpath}/config 
    2727        reinplace s|@CC@|${configure.cc}| ${worksrcpath}/config 
    28         if {[variant_isset universal]} { 
    29             reinplace "s|@CFLAGS@|${configure.cflags} ${configure.universal_cflags}|" ${worksrcpath}/config 
    30             reinplace "s|@LDFLAGS@|${configure.universal_ldflags}|" ${worksrcpath}/config ${worksrcpath}/Makefile 
    31         } else { 
    32             reinplace "s|@CFLAGS@|${configure.cflags} ${configure.cc_archflags}|" ${worksrcpath}/config 
    33             reinplace "s|@LDFLAGS@|${configure.ld_archflags}|" ${worksrcpath}/config ${worksrcpath}/Makefile 
    34         } 
     28        reinplace "s|@CFLAGS@|${configure.cflags} [get_canonical_archflags]|" ${worksrcpath}/config 
     29        reinplace "s|@LDFLAGS@|[get_canonical_archflags]|" ${worksrcpath}/config ${worksrcpath}/Makefile 
    3530} 
    3631 
Note: See TracChangeset for help on using the changeset viewer.