From 8729279eb1e48f171f86e484610a1fbbd904d67d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sun, 24 Nov 2019 12:25:05 +0100 Subject: [PATCH] sgml-catalog-r1.eclass: Do not generate self-dep in sgml-common MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/700976 Signed-off-by: Michał Górny --- eclass/sgml-catalog-r1.eclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eclass/sgml-catalog-r1.eclass b/eclass/sgml-catalog-r1.eclass index f466f97fdcce..1e1f17815ac4 100644 --- a/eclass/sgml-catalog-r1.eclass +++ b/eclass/sgml-catalog-r1.eclass @@ -22,7 +22,9 @@ EXPORT_FUNCTIONS pkg_postinst pkg_postrm if [[ ! ${_SGML_CATALOG_R1} ]]; then -RDEPEND=">=app-text/sgml-common-0.6.3-r7" +if [[ ${CATEGORY}/${PN} != app-text/sgml-common ]]; then + RDEPEND=">=app-text/sgml-common-0.6.3-r7" +fi # @FUNCTION: sgml-catalog-r1_update_catalog # @DESCRIPTION: -- 2.26.2