[114637] trunk/dports/databases/mysql56/Portfile

pixilla at macports.org pixilla at macports.org
Thu Dec 12 08:56:27 PST 2013


Revision: 114637
          https://trac.macports.org/changeset/114637
Author:   pixilla at macports.org
Date:     2013-12-12 08:56:27 -0800 (Thu, 12 Dec 2013)
Log Message:
-----------
databases/mysql56:
- Fix build on Mavericks. Closes #40865
- Fix livecheck.
- Update version to 5.6.15.

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

Modified: trunk/dports/databases/mysql56/Portfile
===================================================================
--- trunk/dports/databases/mysql56/Portfile	2013-12-12 15:21:26 UTC (rev 114636)
+++ trunk/dports/databases/mysql56/Portfile	2013-12-12 16:56:27 UTC (rev 114637)
@@ -5,7 +5,7 @@
 
 name                mysql56
 set name_mysql      ${name}
-version             5.6.13
+version             5.6.15
 # Set revision_client and revision_server to 0 on version bump.
 set revision_client 0
 set revision_server 0
@@ -40,8 +40,8 @@
     # and SUPPORTFILESDIR.
     patchfiles-append   patch-scripts-mysql_install_db.pl.in.diff
 
-    checksums           rmd160  22411eda9da0d931a44ab0710ded76c065cd05e6 \
-                        sha256  5d1b230c3ce896fbea47a69b14b9efb122621a19f32c1102d388d8e7fa442d7e
+    checksums           rmd160  aee23443e02f0f2078ce99448c7453c0166c223d \
+                        sha256  f0ed95faf51670eb9d57ae901e03b0cda79f6c5899f0494b9ec867b1686fe4c7
 
     depends_lib-append  port:zlib port:tcp_wrappers
     depends_run-append  port:mysql_select
@@ -96,6 +96,13 @@
                         -DWITH_LIBWRAP:BOOL=ON \
                         -DWITH_SSL:STRING=bundled
 
+    if {[string match *clang* ${configure.cxx}] &&
+              ${os.major} >= 13} {
+
+        configure.args-append \
+                        -DCMAKE_CXX_FLAGS:STRING="-stdlib=libstdc++"
+    }
+
     post-build {
         set dirs ${worksrcpath}/build_macports
         foreach dir ${dirs} {
@@ -189,8 +196,8 @@
 "
 
     livecheck.type          regex
-    livecheck.url           http://dev.mysql.com/downloads/mysql/${version_branch}/?current_os=src
-    livecheck.regex         "mysql-(${version_branch}(\.\[0-9.\]+)?)\\${extract.suffix}"
+    livecheck.url           http://dev.mysql.com/downloads/mysql/${version_branch}.html
+    livecheck.regex         "MySQL Community Server (${version_branch}(\.\[0-9.\]+)?)"
 }
 
 subport ${name_mysql}-server {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131212/c824ad40/attachment-0001.html>


More information about the macports-changes mailing list