[145322] trunk/dports/x11/xkbcomp/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Sun Jan 31 17:14:21 PST 2016
Revision: 145322
https://trac.macports.org/changeset/145322
Author: jeremyhu at macports.org
Date: 2016-01-31 17:14:20 -0800 (Sun, 31 Jan 2016)
Log Message:
-----------
xkbcomp: Only add -Wno-string-compare when using clang (#50198 followup)
Modified Paths:
--------------
trunk/dports/x11/xkbcomp/Portfile
Modified: trunk/dports/x11/xkbcomp/Portfile
===================================================================
--- trunk/dports/x11/xkbcomp/Portfile 2016-02-01 00:10:45 UTC (rev 145321)
+++ trunk/dports/x11/xkbcomp/Portfile 2016-02-01 01:14:20 UTC (rev 145322)
@@ -32,7 +32,9 @@
configure.args --disable-silent-rules
# http://trac.macports.org/ticket/50198
-configure.cflags-append -Wno-string-compare
+if {[string match *clang* ${configure.cc}]} {
+ configure.cflags-append -Wno-string-compare
+}
livecheck.type regex
livecheck.regex ${name}-(\[\\d.\]+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160131/a119d2a7/attachment-0001.html>
More information about the macports-changes
mailing list