From 66ff696a0e3f9e955f47dbc798f57a490fc7beba Mon Sep 17 00:00:00 2001 From: Jack Greiner Date: Mon, 19 Aug 2024 14:15:46 -0400 Subject: [PATCH] Attempt to support "any" packages that only support one arch. --- tools/osxcross-macports | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/osxcross-macports b/tools/osxcross-macports index 7f3f11350..cd8e7ebe4 100755 --- a/tools/osxcross-macports +++ b/tools/osxcross-macports @@ -323,6 +323,9 @@ getPkgUrl() if [ -z "$pkg" ]; then pkg=$(echo "$pkgs" | grep $OSXVERSION | grep "noarch" | uniq | tail -n1) fi + if [ -z "$pkg" ]; then + pkg=$(echo "$pkgs" | grep "any" | grep $ARCH | uniq | tail -n1) + fi if [ -z "$pkg" ]; then pkg=$(echo "$pkgs" | grep "any" | grep "noarch" | uniq | tail -n1) fi