git: 8f88b048439e - main - net-mgmt/ipv6calc: Unbreak on HEAD
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 02 May 2023 13:52:48 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=8f88b048439efc7c009a7ff7adc1f1f2b76cce29 commit 8f88b048439efc7c009a7ff7adc1f1f2b76cce29 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-05-02 13:33:53 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-05-02 13:52:36 +0000 net-mgmt/ipv6calc: Unbreak on HEAD Approved by: portmgr (blanket) --- net-mgmt/ipv6calc/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/net-mgmt/ipv6calc/Makefile b/net-mgmt/ipv6calc/Makefile index 656913f69c61..f5cfe2d64bed 100644 --- a/net-mgmt/ipv6calc/Makefile +++ b/net-mgmt/ipv6calc/Makefile @@ -20,7 +20,13 @@ GNU_CONFIGURE= yes SHEBANG_FILES= tools/* +.include <bsd.port.pre.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 +CFLAGS+= -Wno-error=deprecated-non-prototype +.endif + post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* -.include <bsd.port.mk> +.include <bsd.port.post.mk>