update-desktop-database and update-mime-database are called from ROOT in pkg functions, so the related dependenices belong in RDEPEND.
Signed-off-by: Mike Gilbert <flop...@gentoo.org> --- eclass/xdg.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/xdg.eclass b/eclass/xdg.eclass index 9ee771223dc0..36300dc5eaa2 100644 --- a/eclass/xdg.eclass +++ b/eclass/xdg.eclass @@ -23,7 +23,7 @@ esac # Avoid dependency loop as both depend on glib-2 if [[ ${CATEGORY}/${P} != dev-libs/glib-2.* ]] ; then -DEPEND=" +RDEPEND=" dev-util/desktop-file-utils x11-misc/shared-mime-info " -- 2.19.0