[110628] trunk/dports/lang/q/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Mon Sep 2 17:02:52 PDT 2013


Revision: 110628
          https://trac.macports.org/changeset/110628
Author:   jeremyhu at macports.org
Date:     2013-09-02 17:02:52 -0700 (Mon, 02 Sep 2013)
Log Message:
-----------
q: Build with clang

Modified Paths:
--------------
    trunk/dports/lang/q/Portfile

Modified: trunk/dports/lang/q/Portfile
===================================================================
--- trunk/dports/lang/q/Portfile	2013-09-03 00:02:35 UTC (rev 110627)
+++ trunk/dports/lang/q/Portfile	2013-09-03 00:02:52 UTC (rev 110628)
@@ -64,7 +64,10 @@
     --without-x
 
 # error: non-void function ... should return a value [-Wreturn-type]
-compiler.blacklist      clang
+# TODO: Actually fix this bug rather than masking the issue
+if {[string match *clang* ${configure.compiler}]} {
+    configure.cflags-append -Wno-return-type
+}
 
 test.run                yes
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130902/966f7868/attachment.html>


More information about the macports-changes mailing list