git: 486e6256d01e - main - framework: fix llvm.mk handling LLVM_DEFAULT 70 80 and 90
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 18 Dec 2022 00:15:42 UTC
The branch main has been updated by tcberner: URL: https://cgit.FreeBSD.org/ports/commit/?id=486e6256d01e3394fcfbd95c9d1f4d014126134c commit 486e6256d01e3394fcfbd95c9d1f4d014126134c Author: Tobias C. Berner <tcberner@FreeBSD.org> AuthorDate: 2022-12-18 00:04:24 +0000 Commit: Tobias C. Berner <tcberner@FreeBSD.org> CommitDate: 2022-12-18 00:14:59 +0000 framework: fix llvm.mk handling LLVM_DEFAULT 70 80 and 90 --- Mk/Uses/llvm.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Mk/Uses/llvm.mk b/Mk/Uses/llvm.mk index 459fd8736cb6..6fa1f60c5d41 100644 --- a/Mk/Uses/llvm.mk +++ b/Mk/Uses/llvm.mk @@ -43,7 +43,11 @@ _LLVM_MK_VERSION= ${_ver} . endif . endfor . if empty(_LLVM_MK_VERSION) +. if ${LLVM_DEFAULT:N1[0-9]*} +_LLVM_MK_VERSION= ${LLVM_DEFAULT:S/0$//} +. else _LLVM_MK_VERSION= ${LLVM_DEFAULT} +. endif . endif # === handle constraints ===