commit: e17747e23e4b38b545658687b4ca2553717ac02a Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Sat Aug 1 19:49:34 2020 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Sat Aug 1 19:49:34 2020 +0000 URL: https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=e17747e2
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 <slyfox <AT> gentoo.org> 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=()
