Date: Sat, 24 Jun 2023 18:10:12 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: c42df690ad53 - main - textproc/discount: Fix build with llvm16 Message-ID: <202306241810.35OIACXV015840@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=c42df690ad53ca97fe8b78c53f861cbff838d147 commit c42df690ad53ca97fe8b78c53f861cbff838d147 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-24 17:27:34 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-24 18:10:02 +0000 textproc/discount: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- textproc/discount/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/textproc/discount/Makefile b/textproc/discount/Makefile index bec1db4494e5..a49535c576db 100644 --- a/textproc/discount/Makefile +++ b/textproc/discount/Makefile @@ -38,6 +38,12 @@ EXTRA_CONFIGURE_ON= --with-dl=both --with-fenced-code --with-github-tags --with- SAMPLES_INSTALL_TARGET= install.samples TAB8_CONFIGURE_ON= --with-tabstops=8 +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-install: ${INSTALL_DATA} ${WRKSRC}/libmarkdown.a ${STAGEDIR}${PREFIX}/lib/libmarkdown.a ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmarkdown.so
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306241810.35OIACXV015840>