From f3eeadc739f9c01520fbd0bac6bcaa84fb404645 Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Fri, 18 Aug 2023 22:30:10 +0200 Subject: [PATCH] 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 f86f51ff37ec4..3619a4cf7b1af 100644 --- a/math/blahtexml/Makefile +++ b/math/blahtexml/Makefile @@ -26,6 +26,15 @@ LDFLAGS+= -liconv PLIST_FILES= bin/${PORTNAME} +.include + +.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