mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
graphics/fv: Fix build on 14
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
4d07db345e
commit
dd362b15e2
1 changed files with 9 additions and 0 deletions
|
@ -28,6 +28,15 @@ OPTIONS_DEFINE= DEBUG DOCS
|
|||
|
||||
DEBUG_CXXFLAGS_OFF= -DNDEBUG
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
||||
USES+= llvm:max=15
|
||||
CC= clang${LLVM_VERSION}
|
||||
CPP= clang-cpp${LLVM_VERSION}
|
||||
CXX= clang++${LLVM_VERSION}
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|^CXX=|CXX?=| ; \
|
||||
|
|
Loading…
Add table
Reference in a new issue