diff options
author | Pacho Ramos <pacho@gentoo.org> | 2016-01-30 10:54:23 +0100 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2016-01-30 10:54:23 +0100 |
commit | 7349ee6846109f21db1957b2023df3892a33eb39 (patch) | |
tree | 7a2b5f460dc0787fa5c718252218c2a248e11fc5 /eclass/gnome2.eclass | |
parent | eclass/gnome2-utils.eclass: prevent spurious warnings (#448822) (diff) | |
download | gentoo-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.eclass | 5 |
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 ) |