summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: