commit:     7349ee6846109f21db1957b2023df3892a33eb39
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 30 09:54:23 2016 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat Jan 30 09:54:23 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7349ee68

eclass/gnome2.eclass: prevent packages from trying to update mimedb (#511944)

 eclass/gnome2.eclass | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass
index 55441b9..274d746 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 )

Reply via email to