[96811] trunk/dports/devel

blair at macports.org blair at macports.org
Sun Aug 19 09:38:10 PDT 2012


Revision: 96811
          https://trac.macports.org/changeset/96811
Author:   blair at macports.org
Date:     2012-08-19 09:38:09 -0700 (Sun, 19 Aug 2012)
Log Message:
-----------
ice33-python2{5,6}: do not use clang to compile.

See http://www.zeroc.com/forums/bug-reports/4965-slice2cpp-output-does-not-compile-standards-conformant-compiler.html .

Modified Paths:
--------------
    trunk/dports/devel/ice33-python25/Portfile
    trunk/dports/devel/ice33-python26/Portfile

Modified: trunk/dports/devel/ice33-python25/Portfile
===================================================================
--- trunk/dports/devel/ice33-python25/Portfile	2012-08-19 16:14:56 UTC (rev 96810)
+++ trunk/dports/devel/ice33-python25/Portfile	2012-08-19 16:38:09 UTC (rev 96811)
@@ -45,6 +45,13 @@
 depends_lib     port:python25 \
                 port: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
+if {${configure.compiler} == "clang"} {
+    configure.compiler llvm-gcc-4.2
+}
+
 post-patch {
     reinplace "s/-O2/-g -O2/" \
         ${workpath}/Ice-${version}/py/config/Make.rules.Darwin

Modified: trunk/dports/devel/ice33-python26/Portfile
===================================================================
--- trunk/dports/devel/ice33-python26/Portfile	2012-08-19 16:14:56 UTC (rev 96810)
+++ trunk/dports/devel/ice33-python26/Portfile	2012-08-19 16:38:09 UTC (rev 96811)
@@ -45,6 +45,13 @@
 depends_lib     port:python26 \
                 port: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
+if {${configure.compiler} == "clang"} {
+    configure.compiler llvm-gcc-4.2
+}
+
 post-patch {
     reinplace "s/-O2/-g -O2/" \
         ${workpath}/Ice-${version}/py/config/Make.rules.Darwin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120819/78d95d61/attachment.html>


More information about the macports-changes mailing list