Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Aug 2023 02:52:57 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: f3eeadc739f9 - main - math/blahtexml: Fix build on 14
Message-ID:  <202308190252.37J2qvLq082973@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=f3eeadc739f9c01520fbd0bac6bcaa84fb404645

commit f3eeadc739f9c01520fbd0bac6bcaa84fb404645
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-18 20:30:10 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-19 02:52:47 +0000

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

diff --git a/math/blahtexml/Makefile b/math/blahtexml/Makefile
index f86f51ff37ec..3619a4cf7b1a 100644
--- a/math/blahtexml/Makefile
+++ b/math/blahtexml/Makefile
@@ -26,6 +26,15 @@ LDFLAGS+=	-liconv
 
 PLIST_FILES=	bin/${PORTNAME}
 
+.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
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 



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