[110649] trunk/dports/science/fasthenry-wr/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Mon Sep 2 18:02:57 PDT 2013


Revision: 110649
          https://trac.macports.org/changeset/110649
Author:   jeremyhu at macports.org
Date:     2013-09-02 18:02:56 -0700 (Mon, 02 Sep 2013)
Log Message:
-----------
fasthenry-wr: Build with clang

Modified Paths:
--------------
    trunk/dports/science/fasthenry-wr/Portfile

Modified: trunk/dports/science/fasthenry-wr/Portfile
===================================================================
--- trunk/dports/science/fasthenry-wr/Portfile	2013-09-03 00:55:41 UTC (rev 110648)
+++ trunk/dports/science/fasthenry-wr/Portfile	2013-09-03 01:02:56 UTC (rev 110649)
@@ -26,8 +26,11 @@
 
 use_configure       no
 
-# https://trac.macports.org/ticket/33915
-compiler.blacklist  *clang*
+# joelself.c:665:5: error: non-void function 'put_in_table' should return a value [-Wreturn-type]
+# TODO: Actually fix the bug.  Don't just mask the issue
+if {[string match *clang* ${configure.compiler}]} {
+    configure.cflags-append -Wno-return-type
+}
 
 build.args-append   CC=${configure.cc} \
                     CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130902/dae68336/attachment.html>


More information about the macports-changes mailing list