commit:     df391b065f47a5ea0dea7aebaeae2a5111a82d66
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 15 10:05:27 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Sep 19 17:48:17 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df391b06

sys-block/nbd: fix VariableShadowed

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 sys-block/nbd/nbd-3.24.ebuild | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/sys-block/nbd/nbd-3.24.ebuild b/sys-block/nbd/nbd-3.24.ebuild
index 77e97a69e60d..6ecf15fb83e1 100644
--- a/sys-block/nbd/nbd-3.24.ebuild
+++ b/sys-block/nbd/nbd-3.24.ebuild
@@ -20,8 +20,6 @@ LICENSE="GPL-2"
 SLOT="0"
 IUSE="debug gnutls netlink zlib"
 
-BDEPEND="virtual/pkgconfig"
-
 RDEPEND="
        >=dev-libs/glib-2.26.0
        gnutls? ( >=net-libs/gnutls-2.12.0 )
@@ -29,9 +27,12 @@ RDEPEND="
        zlib? ( sys-libs/zlib )
 "
 DEPEND="${RDEPEND}"
-BDEPEND="sys-devel/bison"
+BDEPEND="
+       sys-devel/bison
+       virtual/pkgconfig
+"
 
-if [[ ${PV} = 9999 ]] ; then
+if [[ ${PV} == 9999 ]] ; then
        BDEPEND+="
                app-text/docbook-sgml-dtd:4.5
                app-text/docbook-sgml-utils

Reply via email to