commit: 8afea161831a0e0de8a056438d02637312c48e5b
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 25 19:36:21 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> 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 <slyfox <AT> 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"