git: c05c823b6ef2 - main - sysutils/sysctlinfo-kmod: ignore after 1400071

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Fri, 30 Sep 2022 10:14:28 UTC
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c05c823b6ef256e6fd3a0e9044733632ed9b823c

commit c05c823b6ef256e6fd3a0e9044733632ed9b823c
Author:     Fernando Apesteguía <fernape@FreeBSD.org>
AuthorDate: 2022-09-29 06:10:29 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2022-09-30 10:10:55 +0000

    sysutils/sysctlinfo-kmod: ignore after 1400071
    
    Also modify clients.
    
    PR:             266690
    Reported by:    asiciliano@FreeBSD.org
---
 audio/mixertui/Makefile                      | 8 +++++++-
 deskutils/sysctlview/Makefile                | 3 +++
 devel/libsysctlmibinfo/Makefile              | 8 +++++++-
 devel/libsysctlmibinfo2/Makefile             | 8 +++++++-
 sysutils/nsysctl/Makefile                    | 3 +++
 sysutils/sysctlbyname-improved-kmod/Makefile | 3 +++
 sysutils/sysctlinfo-kmod/Makefile            | 3 +++
 7 files changed, 33 insertions(+), 3 deletions(-)

diff --git a/audio/mixertui/Makefile b/audio/mixertui/Makefile
index 5011446506b8..f6955d97fab0 100644
--- a/audio/mixertui/Makefile
+++ b/audio/mixertui/Makefile
@@ -20,6 +20,12 @@ GL_COMMIT=	4d9092861f57bbb4a8e64d14b29ec6aaa1c9190f
 PLIST_FILES=	sbin/${PORTNAME} \
 		share/man/man8/${PORTNAME}.8.gz
 
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400071
+IGNORE=		uses struct sysctl_oid definition previous FreeBSD 1400071
+.endif
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
 	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MAN8PREFIX}/share/man/man8
@@ -32,4 +38,4 @@ USES+=	ncurses
 USES+=	ncurses:port
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/deskutils/sysctlview/Makefile b/deskutils/sysctlview/Makefile
index cbd810c6d34f..b25c849e2f4e 100644
--- a/deskutils/sysctlview/Makefile
+++ b/deskutils/sysctlview/Makefile
@@ -29,6 +29,9 @@ DESKTOP_ENTRIES=	"Sysctlview" \
 
 .include <bsd.port.pre.mk>
 
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400071
+IGNORE=		uses struct sysctl_oid definition previous FreeBSD 1400071
+.endif
 .if ${OPSYS} != FreeBSD
 IGNORE=		not supported on anything but FreeBSD
 .endif
diff --git a/devel/libsysctlmibinfo/Makefile b/devel/libsysctlmibinfo/Makefile
index 371a237be519..3e2f7bd6bcb6 100644
--- a/devel/libsysctlmibinfo/Makefile
+++ b/devel/libsysctlmibinfo/Makefile
@@ -23,6 +23,12 @@ PLIST_FILES=	include/sysctlmibinfo.h \
 		lib/libsysctlmibinfo.so.1.0.2 \
 		man/man3/sysctlmibinfo.3.gz
 
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400071
+IGNORE=		uses struct sysctl_oid definition previous FreeBSD 1400071
+.endif
+
 do-install:
 	${INSTALL_DATA} ${WRKSRC}/sysctlmibinfo.h ${STAGEDIR}${PREFIX}/include
 	${INSTALL_DATA} ${WRKSRC}/libsysctlmibinfo.a ${STAGEDIR}${PREFIX}/lib
@@ -30,4 +36,4 @@ do-install:
 	${RLN} ${STAGEDIR}${PREFIX}/lib/libsysctlmibinfo.so.1.0.2 ${STAGEDIR}${PREFIX}/lib/libsysctlmibinfo.so
 	${INSTALL_MAN} ${WRKSRC}/sysctlmibinfo.3.gz ${STAGEDIR}${MAN3PREFIX}/man/man3
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/devel/libsysctlmibinfo2/Makefile b/devel/libsysctlmibinfo2/Makefile
index f7ec99833c3e..49387480179e 100644
--- a/devel/libsysctlmibinfo2/Makefile
+++ b/devel/libsysctlmibinfo2/Makefile
@@ -31,6 +31,12 @@ PORTEXAMPLES=	*
 OPTIONS_DEFINE=	EXAMPLES
 OPTIONS_DEFAULT=	EXAMPLES
 
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400071
+IGNORE=		uses struct sysctl_oid definition previous FreeBSD 1400071
+.endif
+
 do-install:
 	${INSTALL_DATA} ${WRKSRC}/sysctlmibinfo2.h ${STAGEDIR}${PREFIX}/include
 	${INSTALL_DATA} ${WRKSRC}/libsysctlmibinfo2.a ${STAGEDIR}${PREFIX}/lib
@@ -44,4 +50,4 @@ do-install-EXAMPLES-on:
 	${INSTALL_DATA} ${WRKSRC}/examples/${e} ${STAGEDIR}${EXAMPLESDIR}
 .endfor
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/sysutils/nsysctl/Makefile b/sysutils/nsysctl/Makefile
index 356c7f2d4486..b58a49e74c65 100644
--- a/sysutils/nsysctl/Makefile
+++ b/sysutils/nsysctl/Makefile
@@ -25,6 +25,9 @@ OPTIONS_DEFINE=	DOCS EXAMPLES
 
 .include <bsd.port.pre.mk>
 
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400071
+IGNORE=		uses struct sysctl_oid definition previous FreeBSD 1400071
+.endif
 .if ${OPSYS} != FreeBSD
 IGNORE=		not supported on anything but FreeBSD
 .endif
diff --git a/sysutils/sysctlbyname-improved-kmod/Makefile b/sysutils/sysctlbyname-improved-kmod/Makefile
index 8dc75b99c9ca..809c51c336c6 100644
--- a/sysutils/sysctlbyname-improved-kmod/Makefile
+++ b/sysutils/sysctlbyname-improved-kmod/Makefile
@@ -24,6 +24,9 @@ OPTIONS_DEFAULT=	EXAMPLES
 
 .include <bsd.port.pre.mk>
 
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400071
+IGNORE=		uses struct sysctl_oid definition previous FreeBSD 1400071
+.endif
 .if ${OPSYS} != FreeBSD
 IGNORE=		not supported on anything but FreeBSD
 .endif
diff --git a/sysutils/sysctlinfo-kmod/Makefile b/sysutils/sysctlinfo-kmod/Makefile
index 9ecbfaba6e6c..904bdcf385e1 100644
--- a/sysutils/sysctlinfo-kmod/Makefile
+++ b/sysutils/sysctlinfo-kmod/Makefile
@@ -27,6 +27,9 @@ OPTIONS_DEFAULT=	EXAMPLES
 
 .include <bsd.port.pre.mk>
 
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400071
+IGNORE=		uses struct sysctl_oid definition previous FreeBSD 1400071
+.endif
 .if ${OPSYS} != FreeBSD
 IGNORE=		not supported on anything but FreeBSD
 .endif