summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2016-01-30 10:54:23 +0100
committerPacho Ramos <pacho@gentoo.org>2016-01-30 10:54:23 +0100
commit7349ee6846109f21db1957b2023df3892a33eb39 (patch)
tree7a2b5f460dc0787fa5c718252218c2a248e11fc5 /eclass/gnome2.eclass
parenteclass/gnome2-utils.eclass: prevent spurious warnings (#448822) (diff)
downloadgentoo-7349ee6846109f21db1957b2023df3892a33eb39.tar.gz
gentoo-7349ee6846109f21db1957b2023df3892a33eb39.tar.bz2
gentoo-7349ee6846109f21db1957b2023df3892a33eb39.zip
eclass/gnome2.eclass: prevent packages from trying to update mimedb (#511944)
Diffstat (limited to 'eclass/gnome2.eclass')
-rw-r--r--eclass/gnome2.eclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass
index 55441b9880d6..274d746fd681 100644
--- a/eclass/gnome2.eclass
+++ b/eclass/gnome2.eclass
@@ -155,6 +155,11 @@ gnome2_src_configure() {
g2conf+=( --disable-schemas-compile )
fi
+ # Pass --disable-update-mimedb when possible
+ if grep -q "disable-update-mimedb" "${ECONF_SOURCE:-.}"/configure; then
+ g2conf+=( --disable-update-mimedb )
+ fi
+
# Pass --enable-compile-warnings=minimum as we don't want -Werror* flags, bug #471336
if grep -q "enable-compile-warnings" "${ECONF_SOURCE:-.}"/configure; then
g2conf+=( --enable-compile-warnings=minimum )