Gentoo Archives: gentoo-commits

From: Yuan Liao <liaoyuan@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: games-emulation/dosbox-x/
Date: Mon, 04 Jul 2022 16:10:53
Message-Id: 1656951043.69b445fb0adf73818e5d67f5cb6b32ff2bf90579.liaoyuan@gentoo
1 commit: 69b445fb0adf73818e5d67f5cb6b32ff2bf90579
2 Author: Yuan Liao <liaoyuan <AT> gmail <DOT> com>
3 AuthorDate: Mon Jul 4 16:01:25 2022 +0000
4 Commit: Yuan Liao <liaoyuan <AT> gmail <DOT> com>
5 CommitDate: Mon Jul 4 16:10:43 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=69b445fb
7
8 games-emulation/dosbox-x: Respect the 'AR' variable
9
10 Closes: https://bugs.gentoo.org/856352
11 Signed-off-by: Yuan Liao <liaoyuan <AT> gmail.com>
12
13 games-emulation/dosbox-x/dosbox-x-0.84.1.ebuild | 7 ++++++-
14 games-emulation/dosbox-x/dosbox-x-9999.ebuild | 7 ++++++-
15 2 files changed, 12 insertions(+), 2 deletions(-)
16
17 diff --git a/games-emulation/dosbox-x/dosbox-x-0.84.1.ebuild b/games-emulation/dosbox-x/dosbox-x-0.84.1.ebuild
18 index 9db968900..bc26e3bdb 100644
19 --- a/games-emulation/dosbox-x/dosbox-x-0.84.1.ebuild
20 +++ b/games-emulation/dosbox-x/dosbox-x-0.84.1.ebuild
21 @@ -3,7 +3,7 @@
22
23 EAPI=8
24
25 -inherit autotools xdg
26 +inherit autotools toolchain-funcs xdg
27
28 if [[ "${PV}" == 9999 ]]; then
29 inherit git-r3
30 @@ -146,6 +146,11 @@ src_configure() {
31 econf "${myconf[@]}"
32 }
33
34 +src_compile() {
35 + # https://bugs.gentoo.org/856352
36 + emake AR="$(tc-getAR)"
37 +}
38 +
39 pkg_preinst() {
40 xdg_pkg_preinst
41
42
43 diff --git a/games-emulation/dosbox-x/dosbox-x-9999.ebuild b/games-emulation/dosbox-x/dosbox-x-9999.ebuild
44 index f2da3a0e0..052e563f5 100644
45 --- a/games-emulation/dosbox-x/dosbox-x-9999.ebuild
46 +++ b/games-emulation/dosbox-x/dosbox-x-9999.ebuild
47 @@ -3,7 +3,7 @@
48
49 EAPI=8
50
51 -inherit autotools xdg
52 +inherit autotools toolchain-funcs xdg
53
54 if [[ "${PV}" == 9999 ]]; then
55 inherit git-r3
56 @@ -141,6 +141,11 @@ src_configure() {
57 econf "${myconf[@]}"
58 }
59
60 +src_compile() {
61 + # https://bugs.gentoo.org/856352
62 + emake AR="$(tc-getAR)"
63 +}
64 +
65 pkg_preinst() {
66 xdg_pkg_preinst