From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E6140138359 for ; Sat, 1 Aug 2020 19:50:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2BC3DE0636; Sat, 1 Aug 2020 19:50:51 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 122A1E0636 for ; Sat, 1 Aug 2020 19:50:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CCD9434EFAE for ; Sat, 1 Aug 2020 19:50:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3EBEA2EE for ; Sat, 1 Aug 2020 19:50:48 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1596311374.e17747e23e4b38b545658687b4ca2553717ac02a.slyfox@gentoo> Subject: [gentoo-commits] proj/crossdev:master commit in: / X-VCS-Repository: proj/crossdev X-VCS-Files: crossdev X-VCS-Directories: / X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: e17747e23e4b38b545658687b4ca2553717ac02a X-VCS-Branch: master Date: Sat, 1 Aug 2020 19:50:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 60463ad5-dc95-421d-be99-845d21b3bf9b X-Archives-Hash: 81e2e43758759d29b54eb84bcc474de0 commit: e17747e23e4b38b545658687b4ca2553717ac02a Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Aug 1 19:49:34 2020 +0000 Commit: Sergei Trofimovich gentoo 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 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=()