Date: Fri, 18 Aug 2023 06:57:29 GMT From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: dd362b15e226 - main - graphics/fv: Fix build on 14 Message-ID: <202308180657.37I6vTt5083218@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=dd362b15e2262215df3f8eb7ef1f981aeebebcd1 commit dd362b15e2262215df3f8eb7ef1f981aeebebcd1 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-08-18 06:56:45 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-08-18 06:57:14 +0000 graphics/fv: Fix build on 14 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- graphics/fv/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) 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?=| ; \home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308180657.37I6vTt5083218>
