[91858] trunk/dports/devel/ice33-cpp/Portfile

blair at macports.org blair at macports.org
Wed Apr 11 19:21:02 PDT 2012


Revision: 91858
          https://trac.macports.org/changeset/91858
Author:   blair at macports.org
Date:     2012-04-11 19:21:02 -0700 (Wed, 11 Apr 2012)
Log Message:
-----------
ice33-cpp: work around invalid C++ code by compiling with llvm-gcc-4.2
instead of clang.  See
http://www.zeroc.com/forums/bug-reports/4965-slice2cpp-output-does-not-compile-standards-conformant-compiler.html

Modified Paths:
--------------
    trunk/dports/devel/ice33-cpp/Portfile

Modified: trunk/dports/devel/ice33-cpp/Portfile
===================================================================
--- trunk/dports/devel/ice33-cpp/Portfile	2012-04-12 01:10:47 UTC (rev 91857)
+++ trunk/dports/devel/ice33-cpp/Portfile	2012-04-12 02:21:02 UTC (rev 91858)
@@ -107,6 +107,13 @@
 
 use_configure   no
 
+# Work around invalid C++ code by compiling with llvm-gcc-4.2 instead
+# of clang.  See
+# http://www.zeroc.com/forums/bug-reports/4965-slice2cpp-output-does-not-compile-standards-conformant-compiler.html
+if {${configure.compiler} == "clang"} {
+        configure.compiler llvm-gcc-4.2
+}
+
 build {
         set jobsargs ""
         if {${build.jobs} > 1} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120411/eec4840b/attachment-0001.html>


More information about the macports-changes mailing list