[110648] trunk/dports/science/fastcap-wr/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Mon Sep 2 17:55:41 PDT 2013
Revision: 110648
https://trac.macports.org/changeset/110648
Author: jeremyhu at macports.org
Date: 2013-09-02 17:55:41 -0700 (Mon, 02 Sep 2013)
Log Message:
-----------
fastcap-wr: Build with clang
Modified Paths:
--------------
trunk/dports/science/fastcap-wr/Portfile
Modified: trunk/dports/science/fastcap-wr/Portfile
===================================================================
--- trunk/dports/science/fastcap-wr/Portfile 2013-09-03 00:53:03 UTC (rev 110647)
+++ trunk/dports/science/fastcap-wr/Portfile 2013-09-03 00:55:41 UTC (rev 110648)
@@ -28,8 +28,11 @@
use_configure no
use_parallel_build no
-# This port does not build with clang
-compiler.blacklist *clang*
+# error: non-void function 'getnbrs' 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/96d233b5/attachment.html>
More information about the macports-changes
mailing list