git: f2372e47ff23 - main - devel/llvm: drop support for LLVM_VERSION < 10
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 08 Aug 2023 14:54:50 UTC
The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/ports/commit/?id=f2372e47ff2344a1ad1118210810669baebacf1c commit f2372e47ff2344a1ad1118210810669baebacf1c Author: Brooks Davis <brooks@FreeBSD.org> AuthorDate: 2023-08-04 22:28:57 +0000 Commit: Brooks Davis <brooks@FreeBSD.org> CommitDate: 2023-08-08 14:54:32 +0000 devel/llvm: drop support for LLVM_VERSION < 10 The last LLVM ports with major numbers less than 10 were removed in Jaunary with 21778d8958f518e2179b1053d75cfb6c71405558. Drop support for them in this symlink port. --- devel/llvm/Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/devel/llvm/Makefile b/devel/llvm/Makefile index 1eac3e65cd17..7688ac3420f8 100644 --- a/devel/llvm/Makefile +++ b/devel/llvm/Makefile @@ -39,10 +39,7 @@ PLIST_FILES= ${COMMANDS:S|^|bin/|} \ LLVM_SUFFIX?= ${LLVM_DEFAULT} -.if ${LLVM_SUFFIX:M[789]0} -# Pre-LLVM 10 releases have a <Major><Minor> suffix -LLVM_MAJOR=${LLVM_SUFFIX:C/0$//} -.elif ${LLVM_SUFFIX:M[1-9][0-9]} +.if ${LLVM_SUFFIX:M[1-9][0-9]} # LLVM 10 and later have a <Major> suffix LLVM_MAJOR=${LLVM_SUFFIX} .elif exists(${.CURDIR}/../llvm${LLVM_SUFFIX}/Makefile.snapshot)