commit:     c7524d47e265350d8378d85a5f5d923706f041e6
Author:     Christopher Byrne <salah.coronya <AT> gmail <DOT> com>
AuthorDate: Sat Jan 17 19:59:22 2026 +0000
Commit:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
CommitDate: Wed Jan 28 10:46:58 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7524d47

sys-libs/libnbd: Fix configure options and bash completion macros

Closes: https://bugs.gentoo.org/968889
Closes: https://bugs.gentoo.org/968890
Closes: https://bugs.gentoo.org/968891
Signed-off-by: Christopher Byrne <salah.coronya <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/45419
Closes: https://github.com/gentoo/gentoo/pull/45419
Signed-off-by: Arsen Arsenović <arsen <AT> gentoo.org>

 sys-libs/libnbd/{libnbd-1.24.0.ebuild => libnbd-1.24.0-r1.ebuild} | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sys-libs/libnbd/libnbd-1.24.0.ebuild 
b/sys-libs/libnbd/libnbd-1.24.0-r1.ebuild
similarity index 95%
rename from sys-libs/libnbd/libnbd-1.24.0.ebuild
rename to sys-libs/libnbd/libnbd-1.24.0-r1.ebuild
index c9808d5a1372..5f883894b667 100644
--- a/sys-libs/libnbd/libnbd-1.24.0.ebuild
+++ b/sys-libs/libnbd/libnbd-1.24.0-r1.ebuild
@@ -92,7 +92,7 @@ src_configure() {
                $(use_enable ocaml)
                $(use_enable python)
                $(use_with gnutls)
-               $(use_with !gnutls with-tls-priority NORMAL)
+               --with-bash-completions
                --disable-rust
                --disable-ublk # Not in portage
                --with-libxml2
@@ -100,6 +100,7 @@ src_configure() {
 
        export bashcompdir="$(get_bashcompdir)"
 
+       BASH_COMPLETION_CFLAGS=" " BASH_COMPLETION_LIBS=" "\
        econf "${myeconfargs[@]}"
 }
 
@@ -108,6 +109,7 @@ src_install() {
 
        use fuse || bashcomp_alias nbdsh nbdfuse
        bashcomp_alias nbdsh nbdublk
+       use python || bashcomp_alias nbdsh nbddiscard nbdzero
 
        use ocaml && strip-lto-bytecode
 

Reply via email to