Skip to content

Commit

Permalink
devel/llvm: drop support for LLVM_VERSION < 10
Browse files Browse the repository at this point in the history
The last LLVM ports with major numbers less than 10 were removed in
Jaunary with 21778d8.  Drop support
for them in this symlink port.
  • Loading branch information
brooksdavis committed Aug 8, 2023
1 parent 08500e7 commit f2372e4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions devel/llvm/Makefile
Expand Up @@ -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)
Expand Down

0 comments on commit f2372e4

Please sign in to comment.