Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Aug 2023 07:53:54 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: 474cdc3f85b4 - main - cad/librnd: Fix build on 14
Message-ID:  <202308180753.37I7rs39084024@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=474cdc3f85b4335f4cab0d484459ad27551b02ef

commit 474cdc3f85b4335f4cab0d484459ad27551b02ef
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-18 07:10:50 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-18 07:53:30 +0000

    cad/librnd: Fix build on 14
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 cad/librnd/Makefile | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/cad/librnd/Makefile b/cad/librnd/Makefile
index c6ecf98cb550..d9c187f849bb 100644
--- a/cad/librnd/Makefile
+++ b/cad/librnd/Makefile
@@ -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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308180753.37I7rs39084024>