commit:     95ebf1ace930eb97490b38f78208085903786ca6
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sat May 26 11:05:01 2018 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat May 26 11:07:29 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95ebf1ac

sys-cluster/glusterfs: Update 9999 to fix IPv6/TIRPC

I've given up fighting with upstream over this. :(

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sys-cluster/glusterfs/glusterfs-9999.ebuild | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/sys-cluster/glusterfs/glusterfs-9999.ebuild 
b/sys-cluster/glusterfs/glusterfs-9999.ebuild
index c48c92ed2f0..3284a29382b 100644
--- a/sys-cluster/glusterfs/glusterfs-9999.ebuild
+++ b/sys-cluster/glusterfs/glusterfs-9999.ebuild
@@ -67,8 +67,6 @@ SITEFILE="50${PN}-mode-gentoo.el"
 PATCHES=(
        "${FILESDIR}/${PN}-3.12.2-poisoned-sysmacros.patch"
        "${FILESDIR}/${PN}-4.1.0-silent_rules.patch"
-       "${FILESDIR}/${PN}-without-ipv6-default.patch"
-       "${FILESDIR}/${PN}-TIRPC-config-summary.patch"
 )
 
 DOCS=( AUTHORS ChangeLog NEWS README.md THANKS )
@@ -102,6 +100,10 @@ src_prepare() {
 }
 
 src_configure() {
+       # --without-ipv6-default and --with-libtirpc don't do what you they
+       # do. Chewi has given up fighting with upstream about this.
+       # https://bugzilla.redhat.com/show_bug.cgi?id=1553926
+
        econf \
                --disable-dependency-tracking \
                --disable-silent-rules \
@@ -120,8 +122,8 @@ src_configure() {
                $(use_enable test cmocka) \
                $(use_enable tiering) \
                $(use_enable xml xml-output) \
-               $(use_with ipv6 ipv6-default) \
-               $(use_with libtirpc) \
+               $(use libtirpc || echo --without-libtirpc) \
+               $(use ipv6 && echo --with-ipv6-default) \
                --with-tmpfilesdir="${EPREFIX}"/etc/tmpfiles.d \
                --docdir="${EPREFIX}"/usr/share/doc/${PF} \
                --localstatedir="${EPREFIX}"/var

Reply via email to