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 AD240138359 for ; Sun, 25 Oct 2020 19:36:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E95D1E069C; Sun, 25 Oct 2020 19:36:58 +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-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D072DE069C for ; Sun, 25 Oct 2020 19:36:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 52F6C340BC9 for ; Sun, 25 Oct 2020 19:36:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CBCE13B5 for ; Sun, 25 Oct 2020 19:36:55 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1603654609.8afea161831a0e0de8a056438d02637312c48e5b.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/qemu/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/qemu/qemu-5.1.0-r1.ebuild app-emulation/qemu/qemu-9999.ebuild X-VCS-Directories: app-emulation/qemu/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 8afea161831a0e0de8a056438d02637312c48e5b X-VCS-Branch: master Date: Sun, 25 Oct 2020 19:36:55 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1ea06580-8200-45a6-9d85-44cbeaeff961 X-Archives-Hash: 87b93548d6ebd8d503bca4319ef38c5a commit: 8afea161831a0e0de8a056438d02637312c48e5b Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Oct 25 19:36:21 2020 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Oct 25 19:36:49 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8afea161 app-emulation/qemu: plumb EXTRA_CONF_QEMU variable for ./configure New EXTRA_CONF_QEMU variable To ease passing arbitrary overrides to qemu's configure. Usage example: EXTRA_CONF_QEMU='--tls-priority=@QEMU,NORMAL' emerge -v1 qemu Expected to be used in make.conf or package.env override. Use at your own risk! Closes: https://bugs.gentoo.org/747928 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich gentoo.org> app-emulation/qemu/qemu-5.1.0-r1.ebuild | 4 ++++ app-emulation/qemu/qemu-9999.ebuild | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/app-emulation/qemu/qemu-5.1.0-r1.ebuild b/app-emulation/qemu/qemu-5.1.0-r1.ebuild index da90c984e5e..33685210022 100644 --- a/app-emulation/qemu/qemu-5.1.0-r1.ebuild +++ b/app-emulation/qemu/qemu-5.1.0-r1.ebuild @@ -572,6 +572,10 @@ qemu_src_configure() { tc-enables-pie && conf_opts+=( --enable-pie ) fi + # Plumb through equivalent of EXTRA_ECONF to allow experiments + # like bug #747928. + conf_opts+=( ${EXTRA_CONF_QEMU} ) + echo "../configure ${conf_opts[*]}" cd "${builddir}" ../configure "${conf_opts[@]}" || die "configure failed" diff --git a/app-emulation/qemu/qemu-9999.ebuild b/app-emulation/qemu/qemu-9999.ebuild index 78712930353..0bf87946b77 100644 --- a/app-emulation/qemu/qemu-9999.ebuild +++ b/app-emulation/qemu/qemu-9999.ebuild @@ -577,6 +577,10 @@ qemu_src_configure() { tc-enables-pie && conf_opts+=( --enable-pie ) fi + # Plumb through equivalent of EXTRA_ECONF to allow experiments + # like bug #747928. + conf_opts+=( ${EXTRA_CONF_QEMU} ) + echo "../configure ${conf_opts[*]}" cd "${builddir}" ../configure "${conf_opts[@]}" || die "configure failed"