commit:     9cdf4c1ca5d6b2a95a8918136132bc4d763229b8
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 13 13:41:19 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Wed Feb 13 13:41:40 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cdf4c1c

dev-db/percona-xtrabackup: use bundled boost version

Gentoo's MySQL project gave up on using system's boost version with >=5.7.x.
Let's do the same with xtrabackup for MySQL 5.7.x.

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

 dev-db/percona-xtrabackup/Manifest                         | 1 +
 dev-db/percona-xtrabackup/percona-xtrabackup-2.4.13.ebuild | 6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/dev-db/percona-xtrabackup/Manifest 
b/dev-db/percona-xtrabackup/Manifest
index b4cd1939c52..0f003953d5a 100644
--- a/dev-db/percona-xtrabackup/Manifest
+++ b/dev-db/percona-xtrabackup/Manifest
@@ -1,2 +1,3 @@
+DIST boost_1_59_0.tar.gz 83709983 BLAKE2B 
8c6676fa05fa401a6ecb3b890d95aceb4421ec48dd0eab38ce8d170c618e177c82dc67a165938f6be1a01daab24ce41888f5442dbc19ad3dd41368a01a6f89e4
 SHA512 
05fdbe5637543defdbc630b921515425885593d16db14534ed7b9aa60925ade8fb598d50cb894aed6dae688e789047216daa1bf03fa1aeb6b531060d9dae52ae
 DIST percona-xtrabackup-2.4.12.tar.gz 57232309 BLAKE2B 
71b1dc0448b521b252463fb68ff111def3b71aebe187d3196e3c82f56539db02347d94713bea3dda5978f13b86b88a564ad6f12e3907134edc49a41dcde98e51
 SHA512 
228a48617eec3b824c7cb33882796ac2beb6ca1895fe73f7004e8dfd0b8bd1df471c39ba1c3fca2a819140d934a8a884f61dafae7cb56023dc7bc844d2846c8a
 DIST percona-xtrabackup-2.4.13.tar.gz 57254236 BLAKE2B 
061cbee03374193359ae557909389ec675ed35edf216afc9deeb0b7880705d03024d380d0d6070aabfdb710bbde3664fd73da65ae5980e58290d8c9af29f351c
 SHA512 
19d5fb3d775f1513b931cb2e736b753c1dd82c42fee382fdfa9f183eaee562c32f635db5d569d991cf1c8f7168de55ed863ba2c59db459ab79b80792b21ab298

diff --git a/dev-db/percona-xtrabackup/percona-xtrabackup-2.4.13.ebuild 
b/dev-db/percona-xtrabackup/percona-xtrabackup-2.4.13.ebuild
index 65d8b1b2534..1e7262ec208 100644
--- a/dev-db/percona-xtrabackup/percona-xtrabackup-2.4.13.ebuild
+++ b/dev-db/percona-xtrabackup/percona-xtrabackup-2.4.13.ebuild
@@ -7,7 +7,8 @@ inherit cmake-utils flag-o-matic
 
 DESCRIPTION="Hot backup utility for MySQL based servers"
 HOMEPAGE="https://www.percona.com/software/mysql-database/percona-xtrabackup";
-SRC_URI="https://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-${PV}/source/tarball/${P}.tar.gz";
+SRC_URI="https://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-${PV}/source/tarball/${P}.tar.gz
+       mirror://sourceforge/boost/boost_1_59_0.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -16,7 +17,6 @@ KEYWORDS="~amd64 ~x86"
 DEPEND="
        app-arch/lz4:0=
        app-editors/vim-core
-       <dev-libs/boost-1.65.0:=
        dev-libs/libaio
        dev-libs/libedit
        dev-libs/libev
@@ -44,7 +44,6 @@ src_prepare() {
        # just to be safe...
        # We keep lz4 directory because we use extra/lz4/xxhash.c in 
cmake/libutils.cmake
        rm -rv \
-               include/boost_1_59_0 \
                cmd-line-utils/libedit \
                libevent \
                zlib || die
@@ -63,6 +62,7 @@ src_configure() {
 
        local mycmakeargs=(
                -DBUILD_CONFIG=xtrabackup_release
+               -DWITH_BOOST="${WORKDIR}/boost_1_59_0"
                -DWITH_EDITLINE=system
                -DWITH_LIBEVENT=system
                -DWITH_LZ4=system

Reply via email to