git: f13fd5ee658e - main - net/bindtest: Fix build on llvm15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 03 Jun 2023 18:07:02 UTC
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 \