Ignore:
Timestamp:
Apr 19, 2011, 8:04:27 AM (9 years ago)
Author:
ryandesign@…
Message:

nkf: ensure we're UsingTheRightCompiler, and respect build_arch (and consolidate it with the way the port handles universal_archs)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/nkf/Portfile

    r75270 r77998  
    55name            nkf
    66version         2.1.1
    7 revision        1
     7revision        2
    88categories      textproc japanese
    99maintainers     takanori openmaintainer
     
    2525use_configure   no
    2626
     27variant universal {}
     28if {[variant_isset universal]} {
     29    set archflags ${configure.universal_cflags}
     30} else {
     31    set archflags ${configure.cc_archflags}
     32}
     33
    2734build.target
    28 build.args      CFLAGS="${configure.cflags}"
     35build.args      CC=${configure.cc} CFLAGS="${configure.cflags} ${archflags}"
    2936
    3037test.run        yes
     
    4249}
    4350
    44 variant universal {
    45     build.args  CFLAGS="${configure.cflags} ${configure.universal_cflags}"
    46 }
    47 
    4851livecheck.type  regex
    4952livecheck.url   ${homepage}files/
Note: See TracChangeset for help on using the changeset viewer.