[88043] trunk/dports/devel/libdevil/Portfile

raimue at macports.org raimue at macports.org
Fri Dec 16 19:17:01 PST 2011


Revision: 88043
          http://trac.macports.org/changeset/88043
Author:   raimue at macports.org
Date:     2011-12-16 19:17:01 -0800 (Fri, 16 Dec 2011)
Log Message:
-----------
devel/libdevil:
Apply a workaround for #31765 by using llvm-gcc-4.2 instead of clang++

Modified Paths:
--------------
    trunk/dports/devel/libdevil/Portfile

Modified: trunk/dports/devel/libdevil/Portfile
===================================================================
--- trunk/dports/devel/libdevil/Portfile	2011-12-17 03:08:51 UTC (rev 88042)
+++ trunk/dports/devel/libdevil/Portfile	2011-12-17 03:17:01 UTC (rev 88043)
@@ -65,6 +65,11 @@
 set merger_configure_args(ppc) --enable-ppc
 set merger_configure_args(ppc64) --enable-ppc
 
+# clang++ -std=gnu99 yields an error, #31765
+if {${configure.compiler} == "clang"} {
+    configure.compiler llvm-gcc-4.2
+}
+
 post-destroot {
     xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
     xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING CREDITS ChangeLog \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111216/7535fa2e/attachment.html>


More information about the macports-changes mailing list