Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Aug 2023 05:34:53 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: 3b09134588a4 - main - math/asymptote: Fix build on 14
Message-ID:  <202308160534.37G5YrJI024188@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=3b09134588a42a227abaf8ceed7cff5143dcf36b

commit 3b09134588a42a227abaf8ceed7cff5143dcf36b
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-16 05:22:16 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-16 05:34:38 +0000

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

diff --git a/math/asymptote/Makefile b/math/asymptote/Makefile
index b29c6157bdc1..2bf1ed3b2d9e 100644
--- a/math/asymptote/Makefile
+++ b/math/asymptote/Makefile
@@ -82,6 +82,15 @@ TEST_WRKSRC=	${WRKSRC}/tests
 
 PORTEXAMPLES=	*
 
+.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} 's/-lgc/-lgc-threaded/' ${WRKSRC}/configure
 	@${REINPLACE_CMD} 's,makeinfo,${LOCALBASE}/bin/makeinfo,' \


home | help

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