Skip to content

Commit

Permalink
Merge pull request #428 from ProjectSynchro/osxcross-any-arch
Browse files Browse the repository at this point in the history
osxcross-macports: Properly support "any" version packages.
  • Loading branch information
tpoechtrager authored Aug 19, 2024
2 parents 56d8ec4 + 66ff696 commit be6ffb3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/osxcross-macports
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit be6ffb3

Please sign in to comment.