From: Michał Górny Date: Sun, 24 Nov 2019 11:25:05 +0000 (+0100) Subject: sgml-catalog-r1.eclass: Do not generate self-dep in sgml-common X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=8729279eb1e48f171f86e484610a1fbbd904d67d;p=gentoo.git sgml-catalog-r1.eclass: Do not generate self-dep in sgml-common Closes: https://bugs.gentoo.org/700976 Signed-off-by: Michał Górny --- 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: