diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-08-18 06:56:45 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-08-18 06:57:14 +0000 |
commit | dd362b15e2262215df3f8eb7ef1f981aeebebcd1 (patch) | |
tree | e74c2b4d0cb5014c9721206165c0f6168f7710c6 | |
parent | 4d07db345e11b4b2a87d197a00918caff2a6a415 (diff) | |
download | ports-dd362b15e2262215df3f8eb7ef1f981aeebebcd1.tar.gz ports-dd362b15e2262215df3f8eb7ef1f981aeebebcd1.zip |
graphics/fv: Fix build on 14
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation
-rw-r--r-- | graphics/fv/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/graphics/fv/Makefile b/graphics/fv/Makefile index 164e6bb68bd7..8bee9692d85c 100644 --- a/graphics/fv/Makefile +++ b/graphics/fv/Makefile @@ -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?=| ; \ |