Revision: 120592 https://trac.macports.org/changeset/120592 Author: pixilla@macports.org Date: 2014-06-02 11:33:45 -0700 (Mon, 02 Jun 2014) Log Message: ----------- databases/mysql56: - Add patch missing from r120590. Revision Links: -------------- https://trac.macports.org/changeset/120590 Added Paths: ----------- trunk/dports/databases/mysql56/files/patch-scripts-mysql_secure_installation.pl.in.diff Added: trunk/dports/databases/mysql56/files/patch-scripts-mysql_secure_installation.pl.in.diff =================================================================== --- trunk/dports/databases/mysql56/files/patch-scripts-mysql_secure_installation.pl.in.diff (rev 0) +++ trunk/dports/databases/mysql56/files/patch-scripts-mysql_secure_installation.pl.in.diff 2014-06-02 18:33:45 UTC (rev 120592) @@ -0,0 +1,11 @@ +--- a/scripts/mysql_secure_installation.pl.in 2014-06-02 09:17:44.000000000 -0700 ++++ b/scripts/mysql_secure_installation.pl.in 2014-06-02 09:16:56.000000000 -0700 +@@ -85,7 +85,7 @@ + our $SAVEERR; # Suppress Perl warning message + open SAVEERR, ">& STDERR"; + close STDERR; +- for my $m (File::Spec->catfile('bin', 'mysql'), 'mysql') { ++ for my $m (File::Spec->catfile('@BINDIR@', 'mysql'), 'mysql') { + # mysql --version should always work + qx($m --no-defaults --version); + next unless $? == 0;