Ignore:
Timestamp:
Aug 29, 2011, 6:01:44 AM (9 years ago)
Author:
ryandesign@…
Message:

libranlib: ensure we're UsingTheRightCompiler and build_arch; add universal variant

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/math/libranlib/Portfile

    r83227 r83234  
    4343use_configure       no
    4444
    45 build.args          CFLAGS=-fno-common \
     45variant universal {}
     46
     47build.args          CC=${configure.cc} \
     48                    CFLAGS="[get_canonical_archflags] -fno-common" \
    4649                    prefix=${prefix}
    4750
    48 destroot.args       prefix=${prefix}
     51eval destroot.args  ${build.args}
Note: See TracChangeset for help on using the changeset viewer.