commit: 69b445fb0adf73818e5d67f5cb6b32ff2bf90579 Author: Yuan Liao <liaoyuan <AT> gmail <DOT> com> AuthorDate: Mon Jul 4 16:01:25 2022 +0000 Commit: Yuan Liao <liaoyuan <AT> gmail <DOT> com> CommitDate: Mon Jul 4 16:10:43 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=69b445fb
games-emulation/dosbox-x: Respect the 'AR' variable Closes: https://bugs.gentoo.org/856352 Signed-off-by: Yuan Liao <liaoyuan <AT> gmail.com> games-emulation/dosbox-x/dosbox-x-0.84.1.ebuild | 7 ++++++- games-emulation/dosbox-x/dosbox-x-9999.ebuild | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/games-emulation/dosbox-x/dosbox-x-0.84.1.ebuild b/games-emulation/dosbox-x/dosbox-x-0.84.1.ebuild index 9db968900..bc26e3bdb 100644 --- a/games-emulation/dosbox-x/dosbox-x-0.84.1.ebuild +++ b/games-emulation/dosbox-x/dosbox-x-0.84.1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit autotools xdg +inherit autotools toolchain-funcs xdg if [[ "${PV}" == 9999 ]]; then inherit git-r3 @@ -146,6 +146,11 @@ src_configure() { econf "${myconf[@]}" } +src_compile() { + # https://bugs.gentoo.org/856352 + emake AR="$(tc-getAR)" +} + pkg_preinst() { xdg_pkg_preinst diff --git a/games-emulation/dosbox-x/dosbox-x-9999.ebuild b/games-emulation/dosbox-x/dosbox-x-9999.ebuild index f2da3a0e0..052e563f5 100644 --- a/games-emulation/dosbox-x/dosbox-x-9999.ebuild +++ b/games-emulation/dosbox-x/dosbox-x-9999.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit autotools xdg +inherit autotools toolchain-funcs xdg if [[ "${PV}" == 9999 ]]; then inherit git-r3 @@ -141,6 +141,11 @@ src_configure() { econf "${myconf[@]}" } +src_compile() { + # https://bugs.gentoo.org/856352 + emake AR="$(tc-getAR)" +} + pkg_preinst() { xdg_pkg_preinst