Revision: 87417 http://trac.macports.org/changeset/87417 Author: blair@macports.org Date: 2011-11-20 15:05:37 -0800 (Sun, 20 Nov 2011) Log Message: ----------- ice-cpp: do not compile with clang++, use c++ instead. Closes #31069. See this for ZeroC's lack of commitment in supporting clang: http://www.zeroc.com/forums/bug-reports/4965-slice2cpp-output-does-not-compi... Modified Paths: -------------- trunk/dports/devel/ice-cpp/Portfile Modified: trunk/dports/devel/ice-cpp/Portfile =================================================================== --- trunk/dports/devel/ice-cpp/Portfile 2011-11-20 22:34:53 UTC (rev 87416) +++ trunk/dports/devel/ice-cpp/Portfile 2011-11-20 23:05:37 UTC (rev 87417) @@ -84,6 +84,12 @@ use_configure no +# Work around invalid C++ code by compiling with g++ instead of clang. See +# http://www.zeroc.com/forums/bug-reports/4965-slice2cpp-output-does-not-compi... +if {${configure.compiler} == "clang"} { + configure.compiler gcc-4.2 +} + build { set cmd "cd ${build.dir} && make prefix='${prefix}' embedded_runpath_prefix='${prefix}' CC='${configure.cc}' CXX='${configure.cxx}' OPTIMIZE='yes' BZIP2_HOME='${prefix}' DB_HOME='${prefix}' EXPAT_HOME='${prefix}' OPENSSL_HOME='${prefix}' READLINE_HOME='${prefix}' USE_READLINE=yes MCPP_HOME='${prefix}' LDPLATFORMFLAGS= all && cd doc && make" ui_debug ${cmd}
participants (1)
-
blair@macports.org