[80074] trunk/dports/databases/mysql5/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Sun Jul 3 16:42:38 PDT 2011


Revision: 80074
          http://trac.macports.org/changeset/80074
Author:   jeremyhu at macports.org
Date:     2011-07-03 16:42:36 -0700 (Sun, 03 Jul 2011)
Log Message:
-----------
mysql5: Fall back to llvm-gcc from clang for now

I'll come back to it and try to find a proper fix in mysql5 eventually, but
mysql5 is pulled in by too many ports, so we should just use a workaround
for now.

Dev ack via email

Modified Paths:
--------------
    trunk/dports/databases/mysql5/Portfile

Modified: trunk/dports/databases/mysql5/Portfile
===================================================================
--- trunk/dports/databases/mysql5/Portfile	2011-07-03 23:34:53 UTC (rev 80073)
+++ trunk/dports/databases/mysql5/Portfile	2011-07-03 23:42:36 UTC (rev 80074)
@@ -97,6 +97,13 @@
 configure.cxxflags-append -fPIC
 configure.args-append --with-embedded-server --with-pic
 
+# BUILD FIX TODO
+# doesn't build with clang as of 2011.06.27
+# This looks like a bug in mysql's build system
+if {${configure.compiler} == "clang"} {
+    configure.compiler llvm-gcc-4.2
+}
+
 post-build {
     if {[variant_isset universal]} {
         set dirs {}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110703/64a43371/attachment.html>


More information about the macports-changes mailing list