Revision
80074
Author
jeremyhu@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

Diff

Modified: trunk/dports/databases/mysql5/Portfile (80073 => 80074)


--- 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 {}