commit:     8729279eb1e48f171f86e484610a1fbbd904d67d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 24 11:25:05 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Nov 24 12:26:08 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8729279e

sgml-catalog-r1.eclass: Do not generate self-dep in sgml-common

Closes: https://bugs.gentoo.org/700976
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 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 f466f97fdcc..1e1f17815ac 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:

Reply via email to