sysutils/sysctlinfo-kmod: ignore after 1400071

Also modify clients.

PR:		266690
Reported by:	asiciliano@FreeBSD.org
This commit is contained in:
Fernando Apesteguía 2022-09-29 08:10:29 +02:00
parent 46898c7c8e
commit c05c823b6e
7 changed files with 33 additions and 3 deletions

View file

@ -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>

View file

@ -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

View file

@ -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>

View file

@ -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>

View file

@ -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

View file

@ -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

View file

@ -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