summaryrefslogtreecommitdiff
path: root/dev-util/mingw64-runtime
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/mingw64-runtime')
-rw-r--r--dev-util/mingw64-runtime/Manifest2
-rw-r--r--dev-util/mingw64-runtime/mingw64-runtime-11.0.0.ebuild12
2 files changed, 4 insertions, 10 deletions
diff --git a/dev-util/mingw64-runtime/Manifest b/dev-util/mingw64-runtime/Manifest
index 1e122231e5ce..def5544410b2 100644
--- a/dev-util/mingw64-runtime/Manifest
+++ b/dev-util/mingw64-runtime/Manifest
@@ -1,3 +1,3 @@
DIST mingw-w64-v11.0.0.tar.bz2 10058657 BLAKE2B 3f7637bcc7c3f25b2141d35105ea086eab74e228d7275725ffb4f07e283fd75169dbe0900a9c29494fba9ddb2ea03bdd6ae26f06048311e9c93ae3e317c4c060 SHA512 bc1c9fd9d8593ead9375fcbe40950f06cf7616b94dc676db2793ac9b496fe3a6cc94b5793effda3b752942be0d7d01a1c37a8f221aaf178df0d4eeb0aa6d1f8d
-EBUILD mingw64-runtime-11.0.0.ebuild 4575 BLAKE2B 264f7d9653b118867dd09f5bd60f11c308e88b23e60039843791314822d4e8d2ca73e0c806872c152ddc1996360b5a0fec1ecbe5e13ae006fd19fb5b1cb5e315 SHA512 1656db1f1d8587b2fb0c4e704ef5d332860254f577c7e449df9464092e1796db30611f3570092e2f77cad0fa5a9d25fe387b41e0408eeb47bc6761d692690f18
+EBUILD mingw64-runtime-11.0.0.ebuild 4433 BLAKE2B 5b8a4dfde107ab2b2ba5af2c546adc5e6ef73c8a1b4debe8545608ef6f46d2f39d1f61269783c3b7a5d44d34ed595c2ad973e0fb659c09c400b8c642f8d696de SHA512 f1b66fe1467b16e1fd6cb5654a5c334de9ab4c752af380e763f4e29ceda6993ce57ea59957d00a2c5942789fe06a87b42661aa1121b917a9773cc1ffb7317135
MISC metadata.xml 904 BLAKE2B b7b42242ff7a39ba87ec4889295bb1229122bd20f34c163499423d989120569d5b6c69ed9490f328aa1af8a9dd3ff2ec0f07b85910e7d2eb401f40dbd670d366 SHA512 80bb5c58cf80d7233599e772a1e615ec4b4f16bd9387539a684d11e0b7196e7a3d21f1b56d18271b9a4b0544253e3fec4130ff70702ba4cf5684941ff8d49a51
diff --git a/dev-util/mingw64-runtime/mingw64-runtime-11.0.0.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-11.0.0.ebuild
index f58ee0b1fe5e..e6c64a8633a0 100644
--- a/dev-util/mingw64-runtime/mingw64-runtime-11.0.0.ebuild
+++ b/dev-util/mingw64-runtime/mingw64-runtime-11.0.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit flag-o-matic toolchain-funcs
+inherit crossdev flag-o-matic toolchain-funcs
DESCRIPTION="Free Win64 runtime and import library definitions"
HOMEPAGE="https://www.mingw-w64.org/"
@@ -20,13 +20,7 @@ IUSE="default-ucrt headers-only idl libraries tools"
RESTRICT="strip" # portage would use the wrong strip executable
pkg_setup() {
- : "${CBUILD:=${CHOST}}"
- : "${CTARGET:=${CHOST}}"
- [[ ${CTARGET} == ${CHOST} && ${CATEGORY} == cross-* ]] &&
- CTARGET=${CATEGORY#cross-}
-
- [[ ${CHOST} != ${CTARGET} ]] && MW_CROSS=true || MW_CROSS=false
-
+ target_is_not_host && MW_CROSS=true || MW_CROSS=false
[[ ${CBUILD} == ${CHOST} && ${CTARGET} == ${CHOST} ]] &&
die "Invalid configuration, please see: https://wiki.gentoo.org/wiki/Mingw"
}