From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0E220139694 for ; Sat, 4 Mar 2017 16:36:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5C847E0CFD; Sat, 4 Mar 2017 16:36:06 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 39236E0CFD for ; Sat, 4 Mar 2017 16:36:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E7C0E3417C3 for ; Sat, 4 Mar 2017 16:36:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8985F5C3F for ; Sat, 4 Mar 2017 16:36:03 +0000 (UTC) From: "Matthias Maier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthias Maier" Message-ID: <1488643779.fe801faa69cb147f4fcf2c112e8275f7da935b3d.tamiko@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/qemu/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/qemu/qemu-2.8.0-r6.ebuild app-emulation/qemu/qemu-9999.ebuild X-VCS-Directories: app-emulation/qemu/ X-VCS-Committer: tamiko X-VCS-Committer-Name: Matthias Maier X-VCS-Revision: fe801faa69cb147f4fcf2c112e8275f7da935b3d X-VCS-Branch: master Date: Sat, 4 Mar 2017 16:36:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 9c513455-fc6f-45df-a4c4-fb648622b823 X-Archives-Hash: 9b709214f3a87e4181ba404fbe76808e commit: fe801faa69cb147f4fcf2c112e8275f7da935b3d Author: Matthias Maier gentoo org> AuthorDate: Sat Mar 4 16:06:19 2017 +0000 Commit: Matthias Maier gentoo org> CommitDate: Sat Mar 4 16:09:39 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe801faa app-emulation/qemu: fix inverted logic in configure stage, bug #611238 Package-Manager: Portage-2.3.3, Repoman-2.3.2 app-emulation/qemu/qemu-2.8.0-r6.ebuild | 6 +++--- app-emulation/qemu/qemu-9999.ebuild | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app-emulation/qemu/qemu-2.8.0-r6.ebuild b/app-emulation/qemu/qemu-2.8.0-r6.ebuild index 9c2b891c89e..584a2e15773 100644 --- a/app-emulation/qemu/qemu-2.8.0-r6.ebuild +++ b/app-emulation/qemu/qemu-2.8.0-r6.ebuild @@ -413,10 +413,10 @@ qemu_src_configure() { # Disable options not used by user targets as the default configure # options will autoprobe and try to link in a bunch of unused junk. conf_softmmu() { - if [[ ${buildtype} == "user" ]] ; then - echo "--disable-${2:-$1}" - else + if [[ ${buildtype} == "softmmu" ]] ; then use_enable "$@" + else + echo "--disable-${2:-$1}" fi } conf_opts+=( diff --git a/app-emulation/qemu/qemu-9999.ebuild b/app-emulation/qemu/qemu-9999.ebuild index 580f45bfabd..46221a38b07 100644 --- a/app-emulation/qemu/qemu-9999.ebuild +++ b/app-emulation/qemu/qemu-9999.ebuild @@ -392,10 +392,10 @@ qemu_src_configure() { # Disable options not used by user targets as the default configure # options will autoprobe and try to link in a bunch of unused junk. conf_softmmu() { - if [[ ${buildtype} == "user" ]] ; then - echo "--disable-${2:-$1}" - else + if [[ ${buildtype} == "softmmu" ]] ; then use_enable "$@" + else + echo "--disable-${2:-$1}" fi } conf_opts+=(