Skip to content

Commit

Permalink
optimized
Browse files Browse the repository at this point in the history
  • Loading branch information
leleliu008 committed Oct 27, 2024
1 parent 748b89f commit 4fee755
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions ppkg
Original file line number Diff line number Diff line change
Expand Up @@ -8788,24 +8788,32 @@ __setup_uppm() {
;;
freebsd)
case $(freebsd-version) in
13.0) NATIVE_PLATFORM_VERS='13.0' ;;
13.1) NATIVE_PLATFORM_VERS='13.1' ;;
*) NATIVE_PLATFORM_VERS='13.2' ;;
13.2) NATIVE_PLATFORM_VERS='13.2' ;;
13.3) NATIVE_PLATFORM_VERS='13.3' ;;
13.4) NATIVE_PLATFORM_VERS='13.4' ;;
14.0) NATIVE_PLATFORM_VERS='14.0' ;;
*) NATIVE_PLATFORM_VERS='14.1' ;;
esac
;;
openbsd)
case $(uname -r) in
7.2) NATIVE_PLATFORM_VERS='7.2' ;;
7.3) NATIVE_PLATFORM_VERS='7.3' ;;
*) NATIVE_PLATFORM_VERS='7.4' ;;
7.4) NATIVE_PLATFORM_VERS='7.4' ;;
7.5) NATIVE_PLATFORM_VERS='7.5' ;;
*) NATIVE_PLATFORM_VERS='7.6' ;;
esac
;;
netbsd)
case $(uname -r) in
9.1) NATIVE_PLATFORM_VERS='9.1' ;;
9.2) NATIVE_PLATFORM_VERS='9.2' ;;
*) NATIVE_PLATFORM_VERS='9.3' ;;
9.3) NATIVE_PLATFORM_VERS='9.3' ;;
9.4) NATIVE_PLATFORM_VERS='9.4' ;;
*) NATIVE_PLATFORM_VERS='10.0' ;;
esac
;;
dragonflybsd)
NATIVE_PLATFORM_VERS='6.4'
esac

##################################################################################
Expand Down

0 comments on commit 4fee755

Please sign in to comment.