1 |
commit: 7349ee6846109f21db1957b2023df3892a33eb39 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 30 09:54:23 2016 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 30 09:54:23 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7349ee68 |
7 |
|
8 |
eclass/gnome2.eclass: prevent packages from trying to update mimedb (#511944) |
9 |
|
10 |
eclass/gnome2.eclass | 5 +++++ |
11 |
1 file changed, 5 insertions(+) |
12 |
|
13 |
diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass |
14 |
index 55441b9..274d746 100644 |
15 |
--- a/eclass/gnome2.eclass |
16 |
+++ b/eclass/gnome2.eclass |
17 |
@@ -155,6 +155,11 @@ gnome2_src_configure() { |
18 |
g2conf+=( --disable-schemas-compile ) |
19 |
fi |
20 |
|
21 |
+ # Pass --disable-update-mimedb when possible |
22 |
+ if grep -q "disable-update-mimedb" "${ECONF_SOURCE:-.}"/configure; then |
23 |
+ g2conf+=( --disable-update-mimedb ) |
24 |
+ fi |
25 |
+ |
26 |
# Pass --enable-compile-warnings=minimum as we don't want -Werror* flags, bug #471336 |
27 |
if grep -q "enable-compile-warnings" "${ECONF_SOURCE:-.}"/configure; then |
28 |
g2conf+=( --enable-compile-warnings=minimum ) |