Changeset 74461


Ignore:
Timestamp:
Dec 18, 2010, 5:13:31 AM (9 years ago)
Author:
ryandesign@…
Message:

unsort: ensure we're UsingTheRightCompiler, add support for universal and non-default-build_arch builds

File:
1 edited

Legend:

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

    r74460 r74461  
    2222patchfiles              patch-Makefile
    2323
    24 configure {
     24post-patch {
    2525    reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/Makefile
    2626}
     27
     28use_configure           no
     29
     30variant universal {}
     31if {[variant_isset universal]} {
     32    set archflags ${configure.universal_cflags}
     33} else {
     34    set archflags ${configure.cc_archflags}
     35}
     36build.args              CC="${configure.cc} ${archflags}"
Note: See TracChangeset for help on using the changeset viewer.