From 192f9456a99507d1248fe561b86fef0a5dcf9a6a Mon Sep 17 00:00:00 2001 From: Michael Haubenwallner Date: Tue, 7 May 2019 11:48:15 +0200 Subject: [PATCH] app-misc/ca-certificates: adjust pkg_* deps for prefix-stack pkg_* phase dependencies cannot be correctly specified yet (#660306), need them in DEPEND for prefix-stack, and in RDEPEND otherwise. Closes: https://bugs.gentoo.org/685258 Package-Manager: Portage-2.3.62, Repoman-2.3.11 --- .../ca-certificates/ca-certificates-20190110.3.43.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app-misc/ca-certificates/ca-certificates-20190110.3.43.ebuild b/app-misc/ca-certificates/ca-certificates-20190110.3.43.ebuild index c0e17c48779..66b2fd3c8c0 100644 --- a/app-misc/ca-certificates/ca-certificates-20190110.3.43.ebuild +++ b/app-misc/ca-certificates/ca-certificates-20190110.3.43.ebuild @@ -69,9 +69,13 @@ if ${PRECOMPILED} ; then fi # c_rehash: we run `c_rehash` # debianutils: we run `run-parts` -RDEPEND="${DEPEND} +# no dedicated pkg_* dependencies, bug#660306 +MY_PKGINSTDEPS=" app-misc/c_rehash sys-apps/debianutils" +RDEPEND="${DEPEND} + !prefix-stack? ( ${MY_PKGINSTDEPS} )" +DEPEND+=" prefix-stack? ( ${MY_PKGINSTDEPS} )" if ! ${PRECOMPILED}; then DEPEND+=" ${PYTHON_DEPS}" -- 2.19.2