summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-06-28 03:26:42 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-06-28 03:42:06 -0400
commit314fd7aaa1d8225c95860f9a462d3d541f7df501 (patch)
tree8d6837dfa7c6e3df38c42cf39e106d2f269e280f /app-emulation
parentapp-emulation/dxvk: change bits check method (diff)
downloadgentoo-314fd7aaa1d8225c95860f9a462d3d541f7df501.tar.gz
gentoo-314fd7aaa1d8225c95860f9a462d3d541f7df501.tar.bz2
gentoo-314fd7aaa1d8225c95860f9a462d3d541f7df501.zip
app-emulation/vkd3d-proton: change bits check method
Unlikely, but old could fail if "amd64=86" is in the environment. Plus vkd3d-proton wants 86 (not 32 unlike dxvk), so can just get it from ABI. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/vkd3d-proton/vkd3d-proton-2.6.ebuild2
-rw-r--r--app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/app-emulation/vkd3d-proton/vkd3d-proton-2.6.ebuild b/app-emulation/vkd3d-proton/vkd3d-proton-2.6.ebuild
index 14ead4c9f1e1..664241e57d2e 100644
--- a/app-emulation/vkd3d-proton/vkd3d-proton-2.6.ebuild
+++ b/app-emulation/vkd3d-proton/vkd3d-proton-2.6.ebuild
@@ -123,7 +123,7 @@ multilib_src_configure() {
local emesonargs=(
--prefix="${EPREFIX}"/usr/lib/${PN}
- --{bin,lib}dir=x$((${ABI#x}==86?86:64))
+ --{bin,lib}dir=x${ABI: -2}
--{cross,native}-file="${T}"/widl.${ABI}.ini
$(meson_use {,enable_}extras)
$(meson_use debug enable_trace)
diff --git a/app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild b/app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild
index 14ead4c9f1e1..664241e57d2e 100644
--- a/app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild
+++ b/app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild
@@ -123,7 +123,7 @@ multilib_src_configure() {
local emesonargs=(
--prefix="${EPREFIX}"/usr/lib/${PN}
- --{bin,lib}dir=x$((${ABI#x}==86?86:64))
+ --{bin,lib}dir=x${ABI: -2}
--{cross,native}-file="${T}"/widl.${ABI}.ini
$(meson_use {,enable_}extras)
$(meson_use debug enable_trace)