Date: Sat, 3 Jun 2023 18:07:02 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: f13fd5ee658e - main - net/bindtest: Fix build on llvm15 Message-ID: <202306031807.353I72TQ018918@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=f13fd5ee658ee46f5a336777cda8093836d9ae4b commit f13fd5ee658ee46f5a336777cda8093836d9ae4b Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-03 17:17:48 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-03 18:03:23 +0000 net/bindtest: Fix build on llvm15 Approved by: portmgr (blanket) --- net/bindtest/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/net/bindtest/Makefile b/net/bindtest/Makefile index f510c90195d7..2316ab4d5fd3 100644 --- a/net/bindtest/Makefile +++ b/net/bindtest/Makefile @@ -16,6 +16,12 @@ USES= tar:tgz PLIST_FILES= bin/bindtest bin/bindtest.sh man/man1/bindtest.1.gz +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=deprecated-non-prototype +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bindtest ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/test.sh \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306031807.353I72TQ018918>