From e17747e23e4b38b545658687b4ca2553717ac02a Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sat, 1 Aug 2020 20:49:34 +0100 Subject: crossdev: default to latest mingw64-runtime even for stable toolchains. ::gentoo does not have stable keywords for mingw64-runtime for a while. Let's default to 'latest' to make standard use case to just work.. Reported-by: i.Dark_Templar Bug: https://bugs.gentoo.org/733346 Signed-off-by: Sergei Trofimovich --- crossdev | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/crossdev b/crossdev index 8812021..fec7ed3 100755 --- a/crossdev +++ b/crossdev @@ -855,6 +855,14 @@ for with in HEADERS ; do [[ ${!var} == "COW" ]] && eval ${var}=${!defvar} done +# ::gentoo has no stable 'mingw64-runtime'. Let's default to 'latest' +# unles suser specified something else. +echo "LPKG=${LPKG}" +echo "LVER=${LVER}" +if [[ ${LPKG} == "mingw64-runtime" && ${LVER} == "[stable]" ]]; then + LVER="[latest]" +fi + show_target_cfg() { local pkgs crosspkgs=() -- cgit v1.2.3-65-gdbad