summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-11-24 12:25:05 +0100
committerMichał Górny <mgorny@gentoo.org>2019-11-24 13:26:08 +0100
commit8729279eb1e48f171f86e484610a1fbbd904d67d (patch)
treef0aadba985dea7925eba3d35ffd1e65ffec2a216 /eclass
parentdev-perl/DBD-Pg: Bump to 3.10.0 (diff)
downloadgentoo-8729279eb1e48f171f86e484610a1fbbd904d67d.tar.gz
gentoo-8729279eb1e48f171f86e484610a1fbbd904d67d.tar.bz2
gentoo-8729279eb1e48f171f86e484610a1fbbd904d67d.zip
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@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/sgml-catalog-r1.eclass4
1 files changed, 3 insertions, 1 deletions
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: