aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-05-02 13:33:53 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-05-02 13:52:36 +0000
commit8f88b048439efc7c009a7ff7adc1f1f2b76cce29 (patch)
tree022594bc783526f4fceb3099998787ecc98c7df1
parent8d7515946707f382583af9881b61f5cdfd23622a (diff)
downloadports-8f88b048439efc7c009a7ff7adc1f1f2b76cce29.tar.gz
ports-8f88b048439efc7c009a7ff7adc1f1f2b76cce29.zip
net-mgmt/ipv6calc: Unbreak on HEAD
Approved by: portmgr (blanket)
-rw-r--r--net-mgmt/ipv6calc/Makefile8
1 files changed, 7 insertions, 1 deletions
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>