[48916] trunk/dports/databases

ryandesign at macports.org ryandesign at macports.org
Tue Mar 31 03:12:32 PDT 2009


Revision: 48916
          http://trac.macports.org/changeset/48916
Author:   ryandesign at macports.org
Date:     2009-03-31 03:12:31 -0700 (Tue, 31 Mar 2009)
Log Message:
-----------
mysql5, mysql5-devel: use readline port for readline support; closes #15435

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

Modified: trunk/dports/databases/mysql5/Portfile
===================================================================
--- trunk/dports/databases/mysql5/Portfile	2009-03-31 10:10:31 UTC (rev 48915)
+++ trunk/dports/databases/mysql5/Portfile	2009-03-31 10:12:31 UTC (rev 48916)
@@ -4,6 +4,7 @@
 
 name                    mysql5
 version                 5.0.77
+revision                1
 set branch              [join [lrange [split ${version} .] 0 1] .]
 homepage                http://www.mysql.com/
 categories              databases
@@ -70,6 +71,12 @@
     --without-bench \
     --enable-thread-safe-client
 
+# Add readline support.
+# "--without-readline" has the peculiar meaning "do not use the bundled copy
+# of readline but use the systems (i.e. MacPorts') copy of readline"
+depends_lib-append      port:readline
+configure.args-append   --without-readline
+
 variant server {
     # Create a startupitem to start/stop the server
     startupitem.create  yes

Modified: trunk/dports/databases/mysql5-devel/Portfile
===================================================================
--- trunk/dports/databases/mysql5-devel/Portfile	2009-03-31 10:10:31 UTC (rev 48915)
+++ trunk/dports/databases/mysql5-devel/Portfile	2009-03-31 10:12:31 UTC (rev 48916)
@@ -4,6 +4,7 @@
 
 name                    mysql5-devel
 version                 5.1.32
+revision                1
 set branch              [join [lrange [split ${version} .] 0 1] .]
 homepage                http://www.mysql.com/
 categories              databases
@@ -79,6 +80,12 @@
 # the following is in store for future
 #    --program-suffix=5
 
+# Add readline support.
+# "--without-readline" has the peculiar meaning "do not use the bundled copy
+# of readline but use the systems (i.e. MacPorts') copy of readline"
+depends_lib-append      port:readline
+configure.args-append   --without-readline
+
 # Build libmysqld embedded server
 configure.cflags-append -fPIC
 configure.cxxflags-append -fPIC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090331/cab8b819/attachment.html>


More information about the macports-changes mailing list