commit:     2a000ead4cfd4fc9713d95fe942362ae1f9ddbe5
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 17 00:34:01 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sat Aug 17 00:50:06 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a000ead

dev-db/mysql: move /usr/sql-bench to /usr/share/mysql

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 dev-db/mysql/{mysql-5.6.44.ebuild => mysql-5.6.44-r1.ebuild} | 4 ++++
 dev-db/mysql/{mysql-5.6.45.ebuild => mysql-5.6.45-r1.ebuild} | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/dev-db/mysql/mysql-5.6.44.ebuild 
b/dev-db/mysql/mysql-5.6.44-r1.ebuild
similarity index 99%
rename from dev-db/mysql/mysql-5.6.44.ebuild
rename to dev-db/mysql/mysql-5.6.44-r1.ebuild
index db524e08ba4..c870688eb8e 100644
--- a/dev-db/mysql/mysql-5.6.44.ebuild
+++ b/dev-db/mysql/mysql-5.6.44-r1.ebuild
@@ -371,6 +371,10 @@ src_install() {
                rm -Rf "${ED}/usr/data" || die
        fi
 
+       if [[ -d "${ED%/}/usr/sql-bench" ]] ; then
+               mv "${ED%/}/usr/sql-bench" "${ED%/}/usr/share/mysql/" || die
+       fi
+
        # Unless they explicitly specific USE=test, then do not install the
        # testsuite. It DOES have a use to be installed, esp. when you want to 
do a
        # validation of your database configuration after tuning it.

diff --git a/dev-db/mysql/mysql-5.6.45.ebuild 
b/dev-db/mysql/mysql-5.6.45-r1.ebuild
similarity index 99%
rename from dev-db/mysql/mysql-5.6.45.ebuild
rename to dev-db/mysql/mysql-5.6.45-r1.ebuild
index 4c2579a3156..cda536ad33f 100644
--- a/dev-db/mysql/mysql-5.6.45.ebuild
+++ b/dev-db/mysql/mysql-5.6.45-r1.ebuild
@@ -376,6 +376,10 @@ src_install() {
                rm -Rf "${ED}/usr/data" || die
        fi
 
+       if [[ -d "${ED%/}/usr/sql-bench" ]] ; then
+               mv "${ED%/}/usr/sql-bench" "${ED%/}/usr/share/mysql/" || die
+       fi
+
        # Unless they explicitly specific USE=test, then do not install the
        # testsuite. It DOES have a use to be installed, esp. when you want to 
do a
        # validation of your database configuration after tuning it.

Reply via email to