1 |
commit: fe801faa69cb147f4fcf2c112e8275f7da935b3d |
2 |
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 4 16:06:19 2017 +0000 |
4 |
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 4 16:09:39 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe801faa |
7 |
|
8 |
app-emulation/qemu: fix inverted logic in configure stage, bug #611238 |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.2 |
11 |
|
12 |
app-emulation/qemu/qemu-2.8.0-r6.ebuild | 6 +++--- |
13 |
app-emulation/qemu/qemu-9999.ebuild | 6 +++--- |
14 |
2 files changed, 6 insertions(+), 6 deletions(-) |
15 |
|
16 |
diff --git a/app-emulation/qemu/qemu-2.8.0-r6.ebuild b/app-emulation/qemu/qemu-2.8.0-r6.ebuild |
17 |
index 9c2b891c89e..584a2e15773 100644 |
18 |
--- a/app-emulation/qemu/qemu-2.8.0-r6.ebuild |
19 |
+++ b/app-emulation/qemu/qemu-2.8.0-r6.ebuild |
20 |
@@ -413,10 +413,10 @@ qemu_src_configure() { |
21 |
# Disable options not used by user targets as the default configure |
22 |
# options will autoprobe and try to link in a bunch of unused junk. |
23 |
conf_softmmu() { |
24 |
- if [[ ${buildtype} == "user" ]] ; then |
25 |
- echo "--disable-${2:-$1}" |
26 |
- else |
27 |
+ if [[ ${buildtype} == "softmmu" ]] ; then |
28 |
use_enable "$@" |
29 |
+ else |
30 |
+ echo "--disable-${2:-$1}" |
31 |
fi |
32 |
} |
33 |
conf_opts+=( |
34 |
|
35 |
diff --git a/app-emulation/qemu/qemu-9999.ebuild b/app-emulation/qemu/qemu-9999.ebuild |
36 |
index 580f45bfabd..46221a38b07 100644 |
37 |
--- a/app-emulation/qemu/qemu-9999.ebuild |
38 |
+++ b/app-emulation/qemu/qemu-9999.ebuild |
39 |
@@ -392,10 +392,10 @@ qemu_src_configure() { |
40 |
# Disable options not used by user targets as the default configure |
41 |
# options will autoprobe and try to link in a bunch of unused junk. |
42 |
conf_softmmu() { |
43 |
- if [[ ${buildtype} == "user" ]] ; then |
44 |
- echo "--disable-${2:-$1}" |
45 |
- else |
46 |
+ if [[ ${buildtype} == "softmmu" ]] ; then |
47 |
use_enable "$@" |
48 |
+ else |
49 |
+ echo "--disable-${2:-$1}" |
50 |
fi |
51 |
} |
52 |
conf_opts+=( |