Date: Wed, 2 Aug 2023 12:27:45 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: 2f2ee284a626 - main - security/tclsasl: Fix build with llvm16 Message-ID: <202308021227.372CRjSJ039094@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=2f2ee284a626a55907f52a074af7057231a95e5f commit 2f2ee284a626a55907f52a074af7057231a95e5f Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-08-02 12:26:57 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-08-02 12:27:29 +0000 security/tclsasl: Fix build with llvm16 Sponsored by: The FreeBSD Foundation --- security/tclsasl/Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/security/tclsasl/Makefile b/security/tclsasl/Makefile index 5b68f7766bfa..8eef62e332ba 100644 --- a/security/tclsasl/Makefile +++ b/security/tclsasl/Makefile @@ -14,13 +14,20 @@ USES= tcl:tea libtool tar:tgz USE_LDCONFIG= yes CONFIGURE_ARGS= --with-cyrus-sasl=${LOCALBASE} -CONFIGURE_ENV= INSTALL="${INSTALL_DATA}" STAGEDIR="${STAGEDIR}" +CONFIGURE_ENV= INSTALL="${INSTALL_DATA}" STAGEDIR="${STAGEDIR}" \ + CPPFLAGS="${CPPFLAGS}" PORTDOCS= tclsasl.html OPTIONS_DEFINE= DOCS -post-install: +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CPPFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + +post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/tclsasl.html ${STAGEDIR}${DOCSDIR}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308021227.372CRjSJ039094>