forked from Lainports/freebsd-ports
editors/hexer: Fix build with llvm16
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
fe2bbe5890
commit
7b0aa2cffd
1 changed files with 9 additions and 0 deletions
|
|
@ -22,6 +22,15 @@ OPTIONS_DEFAULT=MYC
|
|||
ALL_TARGET= all
|
||||
MYC_ALL_TARGET= myc
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
||||
USES+= llvm:max=14
|
||||
CC= clang${LLVM_VERSION}
|
||||
CPP= clang-cpp${LLVM_VERSION}
|
||||
CXX= clang++${LLVM_VERSION}
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/hexer
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue