git: ace69bc07b38 - main - cad/calculix: Fix build on 14
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 19 Aug 2023 02:52:59 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=ace69bc07b38d9aaca622d0cfc2baf3ef1494415 commit ace69bc07b38d9aaca622d0cfc2baf3ef1494415 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-08-18 21:15:56 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-08-19 02:52:47 +0000 cad/calculix: Fix build on 14 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- cad/calculix/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/cad/calculix/Makefile b/cad/calculix/Makefile index 575a7f379c06..bd1c7b225d76 100644 --- a/cad/calculix/Makefile +++ b/cad/calculix/Makefile @@ -39,6 +39,15 @@ DIST_PDF= cgx_${PORTVERSION}.pdf DIST_SOURCES= cgx_${PORTVERSION}.all${EXTRACT_SUFX} PSVIEWER?= gv +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +USES+= llvm:max=15 +CC= clang${LLVM_VERSION} +CPP= clang-cpp${LLVM_VERSION} +CXX= clang++${LLVM_VERSION} +.endif + .include <bsd.port.pre.mk> .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))