toolchain-funcs.eclass: fix tc-check-min_ver example

$ python3.13 -c 'import portage; print(portage.versions.vercmp("13.2.0", "13.2"))'
1

Bug: https://bugs.gentoo.org/964195
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-10-12 15:18:47 +01:00
parent 3292c8cf71
commit e1b2c889ed

View File

@@ -659,11 +659,11 @@ _tc-has-openmp() {
# build-time, e.g.
# @CODE
# pkg_pretend() {
# [[ ${MERGE_TYPE} != binary ]] && tc-check-min_ver gcc 13.2.0
# [[ ${MERGE_TYPE} != binary ]] && tc-check-min_ver gcc 13.2
# }
#
# pkg_setup() {
# [[ ${MERGE_TYPE} != binary ]] && tc-check-min_ver gcc 13.2.0
# [[ ${MERGE_TYPE} != binary ]] && tc-check-min_ver gcc 13.2
# }
# @CODE
tc-check-min_ver() {