Modified: trunk/dports/sysutils/brightness/Portfile (116665 => 116666)
--- 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
}