Ignore:
Timestamp:
Feb 2, 2014, 1:21:39 AM (6 years ago)
Author:
ryandesign@…
Message:

brightness: use -arch flags and add universal variant

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/brightness/Portfile

    r116652 r116666  
    3030use_configure no
    3131
     32variant universal {}
     33
    3234build {
    33   system "cd ${worksrcpath} && ${configure.cc} -o brightness brightness.c -framework IOKit -framework ApplicationServices"
     35    system -W ${worksrcpath} "${configure.cc} -o brightness brightness.c -framework IOKit -framework ApplicationServices [get_canonical_archflags cc]"
    3436}
    3537
    3638destroot {
    37     xinstall -m 755 -d ${destroot}${prefix}/bin
    3839    xinstall -m 755 ${worksrcpath}/brightness ${destroot}${prefix}/bin/brightness
    3940}
Note: See TracChangeset for help on using the changeset viewer.