Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/qemu/
Date: Sun, 25 Oct 2020 19:36:59
Message-Id: 1603654609.8afea161831a0e0de8a056438d02637312c48e5b.slyfox@gentoo
1 commit: 8afea161831a0e0de8a056438d02637312c48e5b
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 25 19:36:21 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 25 19:36:49 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8afea161
7
8 app-emulation/qemu: plumb EXTRA_CONF_QEMU variable for ./configure
9
10 New EXTRA_CONF_QEMU variable To ease passing arbitrary overrides
11 to qemu's configure. Usage example:
12
13 EXTRA_CONF_QEMU='--tls-priority=@QEMU,NORMAL' emerge -v1 qemu
14
15 Expected to be used in make.conf or package.env override.
16
17 Use at your own risk!
18
19 Closes: https://bugs.gentoo.org/747928
20 Package-Manager: Portage-3.0.8, Repoman-3.0.2
21 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
22
23 app-emulation/qemu/qemu-5.1.0-r1.ebuild | 4 ++++
24 app-emulation/qemu/qemu-9999.ebuild | 4 ++++
25 2 files changed, 8 insertions(+)
26
27 diff --git a/app-emulation/qemu/qemu-5.1.0-r1.ebuild b/app-emulation/qemu/qemu-5.1.0-r1.ebuild
28 index da90c984e5e..33685210022 100644
29 --- a/app-emulation/qemu/qemu-5.1.0-r1.ebuild
30 +++ b/app-emulation/qemu/qemu-5.1.0-r1.ebuild
31 @@ -572,6 +572,10 @@ qemu_src_configure() {
32 tc-enables-pie && conf_opts+=( --enable-pie )
33 fi
34
35 + # Plumb through equivalent of EXTRA_ECONF to allow experiments
36 + # like bug #747928.
37 + conf_opts+=( ${EXTRA_CONF_QEMU} )
38 +
39 echo "../configure ${conf_opts[*]}"
40 cd "${builddir}"
41 ../configure "${conf_opts[@]}" || die "configure failed"
42
43 diff --git a/app-emulation/qemu/qemu-9999.ebuild b/app-emulation/qemu/qemu-9999.ebuild
44 index 78712930353..0bf87946b77 100644
45 --- a/app-emulation/qemu/qemu-9999.ebuild
46 +++ b/app-emulation/qemu/qemu-9999.ebuild
47 @@ -577,6 +577,10 @@ qemu_src_configure() {
48 tc-enables-pie && conf_opts+=( --enable-pie )
49 fi
50
51 + # Plumb through equivalent of EXTRA_ECONF to allow experiments
52 + # like bug #747928.
53 + conf_opts+=( ${EXTRA_CONF_QEMU} )
54 +
55 echo "../configure ${conf_opts[*]}"
56 cd "${builddir}"
57 ../configure "${conf_opts[@]}" || die "configure failed"