summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2015-11-25 13:15:51 +0100
committerGilles Dartiguelongue <eva@gentoo.org>2015-11-26 11:52:40 +0100
commit3b43b789b0c8685169e04eef87e5c56fe6067e5f (patch)
tree440d16109ea476f12c13f5e25eb3fd0303b85715 /eclass/xdg.eclass
parentx11-wm/mutter: drop old revisions (diff)
downloadgentoo-3b43b789b0c8685169e04eef87e5c56fe6067e5f.tar.gz
gentoo-3b43b789b0c8685169e04eef87e5c56fe6067e5f.tar.bz2
gentoo-3b43b789b0c8685169e04eef87e5c56fe6067e5f.zip
xdg.eclass: break dependency loop due to XDG tools using glib
Diffstat (limited to 'eclass/xdg.eclass')
-rw-r--r--eclass/xdg.eclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/eclass/xdg.eclass b/eclass/xdg.eclass
index 2ad0adab31d..9f109321824 100644
--- a/eclass/xdg.eclass
+++ b/eclass/xdg.eclass
@@ -21,10 +21,13 @@ case "${EAPI:-0}" in
*) die "EAPI=${EAPI} is not supported" ;;
esac
+# Avoid dependency loop as both depend on glib-2
+if [[ ${CATEGORY}/${P} != dev-libs/glib-2.* ]] ; then
DEPEND="
dev-util/desktop-file-utils
x11-misc/shared-mime-info
"
+fi
# @FUNCTION: xdg_src_prepare
# @DESCRIPTION: