Skip to content

Commit

Permalink
cad/librnd: 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 18, 2023
1 parent 2e217b7 commit 474cdc3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cad/librnd/Makefile
Expand Up @@ -69,6 +69,15 @@ STROKE_CONFIGURE_OFF= --disable-stroke
WGET_RUN_DEPENDS= wget:ftp/wget
WGET_CONFIGURE_OFF= --disable-lib_wget

.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

.include <bsd.port.pre.mk>

.if ${PORT_OPTIONS:MGTK2} || ${PORT_OPTIONS:MGTK4} || ${PORT_OPTIONS:MMOTIF}
Expand Down

0 comments on commit 474cdc3

Please sign in to comment.