Skip to content

Commit

Permalink
cad/calculix: Fix build on 14
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Aug 19, 2023
1 parent f07b5ad commit ace69bc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cad/calculix/Makefile
Expand Up @@ -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 ))
Expand Down

0 comments on commit ace69bc

Please sign in to comment.