Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 May 2023 13:52:48 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: 8f88b048439e - main - net-mgmt/ipv6calc: Unbreak on HEAD
Message-ID:  <202305021352.342Dqmpq022754@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=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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202305021352.342Dqmpq022754>