[116667] trunk/dports/sysutils/brightness/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sat Feb 1 17:28:10 PST 2014
Revision: 116667
https://trac.macports.org/changeset/116667
Author: ryandesign at macports.org
Date: 2014-02-01 17:28:10 -0800 (Sat, 01 Feb 2014)
Log Message:
-----------
brightness: fix build with old gcc by specifying -std=c99; add modeline
Modified Paths:
--------------
trunk/dports/sysutils/brightness/Portfile
Modified: trunk/dports/sysutils/brightness/Portfile
===================================================================
--- trunk/dports/sysutils/brightness/Portfile 2014-02-02 01:21:39 UTC (rev 116666)
+++ trunk/dports/sysutils/brightness/Portfile 2014-02-02 01:28:10 UTC (rev 116667)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
PortSystem 1.0
@@ -32,7 +33,7 @@
variant universal {}
build {
- system -W ${worksrcpath} "${configure.cc} -o brightness brightness.c -framework IOKit -framework ApplicationServices [get_canonical_archflags cc]"
+ system -W ${worksrcpath} "${configure.cc} -std=c99 -o brightness brightness.c -framework IOKit -framework ApplicationServices [get_canonical_archflags cc]"
}
destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140201/aea60ff3/attachment.html>
More information about the macports-changes
mailing list