Date: Sun, 23 Jul 2023 17:54:30 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: 0634387d52c1 - main - math/eval: Fix build with llvm16 Message-ID: <202307231754.36NHsUgm007328@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=0634387d52c103a724136dfa24243f197f59a19b commit 0634387d52c103a724136dfa24243f197f59a19b Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-07-23 17:16:23 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-07-23 17:54:16 +0000 math/eval: Fix build with llvm16 - Pet portclippy Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- math/eval/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/math/eval/Makefile b/math/eval/Makefile index dd2fec11fefd..1093e38904ea 100644 --- a/math/eval/Makefile +++ b/math/eval/Makefile @@ -13,9 +13,15 @@ COMMENT= Full featured floating point expression evaluator USES= lha readline +WRKSRC= ${WRKDIR}/Eval/source + PLIST_FILES= bin/Eval -WRKSRC= ${WRKDIR}/Eval/source +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif post-extract: -${LN} -s Makefile.unx ${WRKSRC}/Makefile
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307231754.36NHsUgm007328>