[59782] trunk/dports/databases/mysql5-devel
ryandesign at macports.org
ryandesign at macports.org
Thu Oct 22 00:08:39 PDT 2009
Revision: 59782
http://trac.macports.org/changeset/59782
Author: ryandesign at macports.org
Date: 2009-10-22 00:08:35 -0700 (Thu, 22 Oct 2009)
Log Message:
-----------
mysql5-devel: better way to disable tests and benchmarks
Modified Paths:
--------------
trunk/dports/databases/mysql5-devel/Portfile
Added Paths:
-----------
trunk/dports/databases/mysql5-devel/files/patch-Makefile.in.diff
Modified: trunk/dports/databases/mysql5-devel/Portfile
===================================================================
--- trunk/dports/databases/mysql5-devel/Portfile 2009-10-22 06:25:18 UTC (rev 59781)
+++ trunk/dports/databases/mysql5-devel/Portfile 2009-10-22 07:08:35 UTC (rev 59782)
@@ -5,6 +5,7 @@
name mysql5-devel
conflicts mysql5 mysql4
version 5.1.40
+revision 1
set branch [join [lrange [split ${version} .] 0 1] .]
homepage http://www.mysql.com/
categories databases
@@ -53,6 +54,7 @@
set mysqluser mysql
patchfiles \
+ patch-Makefile.in.diff \
patch-mysql_secure_installation.sh.diff
post-patch {
@@ -74,7 +76,6 @@
--with-unix-socket-path=${prefix}/var/run/${mysql}/mysqld.sock \
--with-mysqld-user=${mysqluser} \
--without-docs \
- --without-bench \
--with-plugins=all \
--enable-thread-safe-client
# the following is in store for future
@@ -123,17 +124,12 @@
}
}
-# the directories ${prefix}/sql-bench ${prefix}/mysql-test
-destroot.violate_mtree yes
-
pre-destroot {
xinstall -m 755 -d ${destroot}${sysconfdir}
destroot.keepdirs-append ${destroot}${sysconfdir}
}
post-destroot {
- delete ${destroot}${prefix}/mysql-test
-
# Fix paths in manpages and sample configuration files
foreach manpage [glob -type f ${destroot}${prefix}/share/man/man\[1-9\]/*] {
reinplace "s|/etc/my.cnf|${sysconfdir}/my.cnf|g" ${manpage}
Added: trunk/dports/databases/mysql5-devel/files/patch-Makefile.in.diff
===================================================================
--- trunk/dports/databases/mysql5-devel/files/patch-Makefile.in.diff (rev 0)
+++ trunk/dports/databases/mysql5-devel/files/patch-Makefile.in.diff 2009-10-22 07:08:35 UTC (rev 59782)
@@ -0,0 +1,11 @@
+--- Makefile.in.orig 2009-10-06 12:57:22.000000000 -0500
++++ Makefile.in 2009-10-22 01:36:36.000000000 -0500
+@@ -412,7 +412,7 @@
+ @sql_union_dirs@ unittest \
+ @sql_server@ @man_dirs@ tests \
+ netware @libmysqld_dirs@ \
+- mysql-test support-files sql-bench @tools_dirs@ \
++ support-files @tools_dirs@ \
+ win
+
+ DIST_SUBDIRS = . include Docs zlib \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091022/b6c95865/attachment.html>
More information about the macports-changes
mailing list