[93196] trunk/dports/databases/mysql55

pixilla at macports.org pixilla at macports.org
Thu May 17 08:10:43 PDT 2012


Revision: 93196
          https://trac.macports.org/changeset/93196
Author:   pixilla at macports.org
Date:     2012-05-17 08:10:43 -0700 (Thu, 17 May 2012)
Log Message:
-----------
databases/mysql55:
- Add patch-configure.cmake.diff fixing configure. Closes #34475
- Upgrade to version 5.5.24.

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

Added Paths:
-----------
    trunk/dports/databases/mysql55/files/patch-configure.cmake.diff

Modified: trunk/dports/databases/mysql55/Portfile
===================================================================
--- trunk/dports/databases/mysql55/Portfile	2012-05-17 14:59:21 UTC (rev 93195)
+++ trunk/dports/databases/mysql55/Portfile	2012-05-17 15:10:43 UTC (rev 93196)
@@ -5,7 +5,7 @@
 
 name                mysql55
 set name_mysql      ${name}
-version             5.5.23
+version             5.5.24
 categories          databases
 platforms           darwin
 license             GPL-2
@@ -40,11 +40,13 @@
     use_parallel_build  yes
     
     patch.pre_args      -p1
-    patchfiles          patch-cmake-install_layout.cmake.diff
+    patchfiles          patch-cmake-install_layout.cmake.diff \
+                        patch-configure.cmake.diff
+# http://bugs.mysql.com/bug.php?id=65050
+
+    checksums           rmd160  8a6cf0ff40d7b21bb9bb2fab82d0695574e6f2f9 \
+                        sha256  41e687dfec416a8b50d8d550899346c0e7096fe1200228cce24ed8daf3a779c6
     
-    checksums           rmd160  1c5b086be0b8f5e1f3128c160e1e4814f68dac95 \
-                        sha256  20a6303e281ac7875997c6c5e34b1129a02d1fb3f886b8ccb2c7b958cd67746a
-    
     depends_lib-append  port:zlib \
                         port:readline \
                         port:cmake
@@ -69,7 +71,6 @@
                         -DSYSCONFDIR:PATH=${prefix}/etc/${name} \
                         -DMYSQL_UNIX_ADDR:PATH=${prefix}/var/run/${name}/mysqld.sock \
                         -DMYSQL_DATADIR:PATH=${prefix}/var/db/${name} \
-                        -DFEATURE_SET:STRING=community \
                         -DDEFAULT_CHARSET:STRING=utf8 \
                         -DDEFAULT_COLLATION:STRING=utf8_general_ci \
                         -DWITH_EMBEDDED_SERVER:BOOL=OFF \

Added: trunk/dports/databases/mysql55/files/patch-configure.cmake.diff
===================================================================
--- trunk/dports/databases/mysql55/files/patch-configure.cmake.diff	                        (rev 0)
+++ trunk/dports/databases/mysql55/files/patch-configure.cmake.diff	2012-05-17 15:10:43 UTC (rev 93196)
@@ -0,0 +1,13 @@
+--- a/configure.cmake	2012-05-16 14:16:44.000000000 -0700
++++ b/configure.cmake	2012-05-16 14:17:49.000000000 -0700
+@@ -149,7 +149,9 @@
+   SET(CMAKE_REQUIRED_LIBRARIES 
+     ${LIBM} ${LIBNSL} ${LIBBIND} ${LIBCRYPT} ${LIBSOCKET} ${LIBDL} ${CMAKE_THREAD_LIBS_INIT} ${LIBRT})
+ 
+-  LIST(REMOVE_DUPLICATES CMAKE_REQUIRED_LIBRARIES)
++  IF(CMAKE_REQUIRED_LIBRARIES)
++    LIST(REMOVE_DUPLICATES CMAKE_REQUIRED_LIBRARIES)
++  ENDIF()
+   LINK_LIBRARIES(${CMAKE_THREAD_LIBS_INIT})
+   
+   OPTION(WITH_LIBWRAP "Compile with tcp wrappers support" OFF)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120517/d15304c0/attachment.html>


More information about the macports-changes mailing list