git: f3eeadc739f9 - main - math/blahtexml: Fix build on 14
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 19 Aug 2023 02:52:57 UTC
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