commit:     88194809fe5a4bbda95418c09274d0644e01a602
Author:     Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
AuthorDate: Fri Mar 29 11:28:57 2019 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Wed Apr  3 04:55:29 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88194809

app-emulation/xen-tools: disable sys-cluster/glusterfs automagic

Closes: https://bugs.gentoo.org/682006
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 app-emulation/xen-tools/xen-tools-4.10.3-r2.ebuild | 4 ++++
 app-emulation/xen-tools/xen-tools-4.11.1-r2.ebuild | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/app-emulation/xen-tools/xen-tools-4.10.3-r2.ebuild 
b/app-emulation/xen-tools/xen-tools-4.10.3-r2.ebuild
index f58f83d8863..e5f5d717210 100644
--- a/app-emulation/xen-tools/xen-tools-4.10.3-r2.ebuild
+++ b/app-emulation/xen-tools/xen-tools-4.10.3-r2.ebuild
@@ -332,6 +332,10 @@ src_prepare() {
                -e 's:^#vif.default.script=:vif.default.script=:' \
                -i tools/examples/xl.conf  || die
 
+       # disable glusterfs
+       sed -e "s:\$\$source/configure:\0 --disable-glusterfs:" \
+               -i tools/Makefile || die
+
        default
 }
 

diff --git a/app-emulation/xen-tools/xen-tools-4.11.1-r2.ebuild 
b/app-emulation/xen-tools/xen-tools-4.11.1-r2.ebuild
index c6d51462da3..bfa221f47fb 100644
--- a/app-emulation/xen-tools/xen-tools-4.11.1-r2.ebuild
+++ b/app-emulation/xen-tools/xen-tools-4.11.1-r2.ebuild
@@ -338,6 +338,10 @@ src_prepare() {
        sed -e "s:\$\$source/configure:\0 --disable-capstone:" \
                -i tools/Makefile || die
 
+       # disable glusterfs
+       sed -e "s:\$\$source/configure:\0 --disable-glusterfs:" \
+               -i tools/Makefile || die
+
        default
 }
 

Reply via email to