[122726] trunk/dports/databases/mysql56

pixilla at macports.org pixilla at macports.org
Sun Jul 27 17:57:51 PDT 2014


Revision: 122726
          https://trac.macports.org/changeset/122726
Author:   pixilla at macports.org
Date:     2014-07-27 17:57:51 -0700 (Sun, 27 Jul 2014)
Log Message:
-----------
databases/mysql56:
- Improve detection of htonll/ntohll. Closes #44449
- Update notes.

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

Added Paths:
-----------
    trunk/dports/databases/mysql56/files/patch-configure.cmake.diff
    trunk/dports/databases/mysql56/files/patch-innodb_memcached-daemon_memcached-include-memcached-util.h.diff

Modified: trunk/dports/databases/mysql56/Portfile
===================================================================
--- trunk/dports/databases/mysql56/Portfile	2014-07-28 00:19:29 UTC (rev 122725)
+++ trunk/dports/databases/mysql56/Portfile	2014-07-28 00:57:51 UTC (rev 122726)
@@ -31,6 +31,10 @@
     patch.pre_args      -p1
     patchfiles          patch-cmake-install_layout.cmake.diff
 
+    # Fix detection of htonll/ntohll.
+    patchfiles-append   patch-configure.cmake.diff \
+                        patch-innodb_memcached-daemon_memcached-include-memcached-util.h.diff
+
     # Patch scripts/* files that do not find configuration, support and binary files.
     patchfiles-append   patch-scripts-mysql_install_db.pl.in.diff \
                         patch-scripts-mysql_secure_installation.pl.in.diff
@@ -264,7 +268,7 @@
     notes "
 If this is a new install you might want to run:
 
-\$ sudo ${prefix}/lib/${name_mysql}/bin/mysql_install_db --user ${mysqluser}
+\$ sudo -u ${mysqluser} ${prefix}/lib/${name_mysql}/bin/mysql_install_db
 "
 
     livecheck.type          none

Added: trunk/dports/databases/mysql56/files/patch-configure.cmake.diff
===================================================================
--- trunk/dports/databases/mysql56/files/patch-configure.cmake.diff	                        (rev 0)
+++ trunk/dports/databases/mysql56/files/patch-configure.cmake.diff	2014-07-28 00:57:51 UTC (rev 122726)
@@ -0,0 +1,12 @@
+http://bugs.mysql.com/bug.php?id=73405
+--- a/configure.cmake	2014-05-06 05:45:57.000000000 -0500
++++ b/configure.cmake	2014-07-26 13:48:44.000000000 -0500
+@@ -542,7 +542,7 @@
+ CHECK_FUNCTION_EXISTS (memalign HAVE_MEMALIGN)
+ CHECK_FUNCTION_EXISTS (chown HAVE_CHOWN)
+ CHECK_FUNCTION_EXISTS (nl_langinfo HAVE_NL_LANGINFO)
+-CHECK_FUNCTION_EXISTS (ntohll HAVE_HTONLL)
++CHECK_SYMBOL_EXISTS (ntohll arpa/inet.h HAVE_HTONLL)
+ 
+ CHECK_FUNCTION_EXISTS (clock_gettime DNS_USE_CPU_CLOCK_FOR_ID)
+ CHECK_FUNCTION_EXISTS (epoll_create HAVE_EPOLL)

Added: trunk/dports/databases/mysql56/files/patch-innodb_memcached-daemon_memcached-include-memcached-util.h.diff
===================================================================
--- trunk/dports/databases/mysql56/files/patch-innodb_memcached-daemon_memcached-include-memcached-util.h.diff	                        (rev 0)
+++ trunk/dports/databases/mysql56/files/patch-innodb_memcached-daemon_memcached-include-memcached-util.h.diff	2014-07-28 00:57:51 UTC (rev 122726)
@@ -0,0 +1,11 @@
+http://bugs.mysql.com/bug.php?id=73405
+--- a/plugin/innodb_memcached/daemon_memcached/include/memcached/util.h	2014-05-06 05:45:59.000000000 -0500
++++ b/plugin/innodb_memcached/daemon_memcached/include/memcached/util.h	2014-07-26 14:20:44.000000000 -0500
+@@ -11,6 +11,7 @@
+  */
+ #include <memcached/visibility.h>
+ #include <memcached/types.h>
++#include "config.h"
+ 
+ #ifdef __cplusplus
+ extern "C" {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140727/7008b539/attachment.html>


More information about the macports-changes mailing list