1 |
commit: e17747e23e4b38b545658687b4ca2553717ac02a |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 1 19:49:34 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 1 19:49:34 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=e17747e2 |
7 |
|
8 |
crossdev: default to latest mingw64-runtime even for stable toolchains. |
9 |
|
10 |
::gentoo does not have stable keywords for mingw64-runtime for a while. |
11 |
Let's default to 'latest' to make standard use case to just work.. |
12 |
|
13 |
Reported-by: i.Dark_Templar |
14 |
Bug: https://bugs.gentoo.org/733346 |
15 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
16 |
|
17 |
crossdev | 8 ++++++++ |
18 |
1 file changed, 8 insertions(+) |
19 |
|
20 |
diff --git a/crossdev b/crossdev |
21 |
index 8812021..fec7ed3 100755 |
22 |
--- a/crossdev |
23 |
+++ b/crossdev |
24 |
@@ -855,6 +855,14 @@ for with in HEADERS ; do |
25 |
[[ ${!var} == "COW" ]] && eval ${var}=${!defvar} |
26 |
done |
27 |
|
28 |
+# ::gentoo has no stable 'mingw64-runtime'. Let's default to 'latest' |
29 |
+# unles suser specified something else. |
30 |
+echo "LPKG=${LPKG}" |
31 |
+echo "LVER=${LVER}" |
32 |
+if [[ ${LPKG} == "mingw64-runtime" && ${LVER} == "[stable]" ]]; then |
33 |
+ LVER="[latest]" |
34 |
+fi |
35 |
+ |
36 |
show_target_cfg() { |
37 |
local pkgs crosspkgs=() |