commit:     0e2d85999128ffd8df2b17b1ba1379b81ad69ea0
Author:     Raul E Rangel <rrangel <AT> chromium <DOT> org>
AuthorDate: Mon Apr  3 20:34:39 2023 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Wed Apr 12 14:32:30 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e2d8599

app-arch/zip: Fix dependencies

DEPEND should reference RDEPEND after it's set otherwise the DEPEND
variable will be incorrect.

    aarch64-cros-linux-gnu-clang -c -I. ... -o fileio_.o fileio.c
    zipup.c:37:14: fatal error: 'bzlib.h' file not found
    #    include "bzlib.h"
             ^~~~~~~~~
    zip.c:67:1 error generated.

Signed-off-by: Raul E Rangel <rrangel <AT> chromium.org>
Closes: https://github.com/gentoo/gentoo/pull/30466
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 app-arch/zip/zip-3.0-r7.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-arch/zip/zip-3.0-r7.ebuild b/app-arch/zip/zip-3.0-r7.ebuild
index f1f6d540e823..f21af88f5e91 100644
--- a/app-arch/zip/zip-3.0-r7.ebuild
+++ b/app-arch/zip/zip-3.0-r7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -16,9 +16,9 @@ SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux"
 IUSE="bzip2 crypt natspec unicode"
 
-DEPEND="${RDEPEND}"
 RDEPEND="bzip2? ( app-arch/bzip2 )
        natspec? ( dev-libs/libnatspec )"
+DEPEND="${RDEPEND}"
 BDEPEND="app-arch/unzip"
 
 PATCHES=(

Reply via email to