Revision: 116666 https://trac.macports.org/changeset/116666 Author: ryandesign@macports.org Date: 2014-02-01 17:21:39 -0800 (Sat, 01 Feb 2014) Log Message: ----------- brightness: use -arch flags and add universal variant Modified Paths: -------------- trunk/dports/sysutils/brightness/Portfile Modified: trunk/dports/sysutils/brightness/Portfile =================================================================== --- trunk/dports/sysutils/brightness/Portfile 2014-02-02 01:00:45 UTC (rev 116665) +++ trunk/dports/sysutils/brightness/Portfile 2014-02-02 01:21:39 UTC (rev 116666) @@ -29,12 +29,13 @@ use_configure no +variant universal {} + build { - system "cd ${worksrcpath} && ${configure.cc} -o brightness brightness.c -framework IOKit -framework ApplicationServices" + system -W ${worksrcpath} "${configure.cc} -o brightness brightness.c -framework IOKit -framework ApplicationServices [get_canonical_archflags cc]" } destroot { - xinstall -m 755 -d ${destroot}${prefix}/bin xinstall -m 755 ${worksrcpath}/brightness ${destroot}${prefix}/bin/brightness }
participants (1)
-
ryandesign@macports.org