commit:     a513b2ee9a1b73cd6a513b37f6a2a54a5f7cb6ef
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 28 07:22:46 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Jun 28 07:42:06 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a513b2ee

app-emulation/dxvk: change bits check method

Unlikely, but old could fail if "amd64=86" is in the environment.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 app-emulation/dxvk/dxvk-1.10.1.ebuild | 2 +-
 app-emulation/dxvk/dxvk-9999.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-emulation/dxvk/dxvk-1.10.1.ebuild 
b/app-emulation/dxvk/dxvk-1.10.1.ebuild
index d0bfdb15b8ca..cf84df747aaa 100644
--- a/app-emulation/dxvk/dxvk-1.10.1.ebuild
+++ b/app-emulation/dxvk/dxvk-1.10.1.ebuild
@@ -83,7 +83,7 @@ multilib_src_configure() {
 
        local emesonargs=(
                --prefix="${EPREFIX}"/usr/lib/${PN}
-               --{bin,lib}dir=x$((${ABI#x}==86?32:64))
+               --{bin,lib}dir=x${MULTILIB_ABI_FLAG: -2}
                $(meson_use {,enable_}d3d9)
                $(meson_use {,enable_}d3d10)
                $(meson_use {,enable_}d3d11)

diff --git a/app-emulation/dxvk/dxvk-9999.ebuild 
b/app-emulation/dxvk/dxvk-9999.ebuild
index d0bfdb15b8ca..cf84df747aaa 100644
--- a/app-emulation/dxvk/dxvk-9999.ebuild
+++ b/app-emulation/dxvk/dxvk-9999.ebuild
@@ -83,7 +83,7 @@ multilib_src_configure() {
 
        local emesonargs=(
                --prefix="${EPREFIX}"/usr/lib/${PN}
-               --{bin,lib}dir=x$((${ABI#x}==86?32:64))
+               --{bin,lib}dir=x${MULTILIB_ABI_FLAG: -2}
                $(meson_use {,enable_}d3d9)
                $(meson_use {,enable_}d3d10)
                $(meson_use {,enable_}d3d11)

Reply via email to