[110632] trunk/dports/math/vowpal_wabbit/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Mon Sep 2 17:16:44 PDT 2013


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

Modified Paths:
--------------
    trunk/dports/math/vowpal_wabbit/Portfile

Modified: trunk/dports/math/vowpal_wabbit/Portfile
===================================================================
--- trunk/dports/math/vowpal_wabbit/Portfile	2013-09-03 00:10:28 UTC (rev 110631)
+++ trunk/dports/math/vowpal_wabbit/Portfile	2013-09-03 00:16:44 UTC (rev 110632)
@@ -27,7 +27,9 @@
 
 variant universal   {}
 
-compiler.blacklist  clang
+# Work around missing includes
+# TODO: Fix this by patching relevant files and reporting upstream
+configure.cxxflags-append -include /usr/include/unistd.h -include /usr/include/string.h
 
 build.args          COMPILER=${configure.cxx} \
                     FLAGS="-I${prefix}/include ${configure.cxxflags} [get_canonical_archflags cxx]" \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130902/ce92ca8f/attachment.html>


More information about the macports-changes mailing list