diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc --- a/ObsoleteFiles.inc +++ b/ObsoleteFiles.inc @@ -52,6 +52,15 @@ # xargs -n1 | sort | uniq -d; # done +# 20230418: iwlwifi/rtw88 man pages restricted to supported archs. +.if ${TARGET_ARCH} != "i386" && ${TARGET_ARCH} != "amd64" && \ + ${TARGET_ARCH} != "aarch64" +OLD_FILES+=usr/share/man/man4/iwlwifi.4.gz +OLD_FILES+=usr/share/man/man4/iwlwififw.4.gz +OLD_FILES+=usr/share/man/man4/rtw88.4.gz +OLD_FILES+=usr/share/man/man4/rtw88fw.4.gz +.endif + # 20230329: libcasper libraries moved to /lib MOVED_LIBS+=lib/casper/libcap_dns.so.2 MOVED_LIBS+=lib/casper/libcap_fileargs.so.1 diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile --- a/share/man/man4/Makefile +++ b/share/man/man4/Makefile @@ -258,8 +258,8 @@ iwmfw.4 \ iwn.4 \ iwnfw.4 \ - iwlwifi.4 \ - iwlwififw.4 \ + ${_iwlwifi.4} \ + ${_iwlwififw.4} \ ixgbe.4 \ ixl.4 \ jedec_dimm.4 \ @@ -469,8 +469,8 @@ route.4 \ rtnetlink.4 \ rtsx.4 \ - rtw88.4 \ - rtw88fw.4 \ + ${_rtw88.4} \ + ${_rtw88fw.4} \ rtwn.4 \ rtwnfw.4 \ rtwn_pci.4 \ @@ -890,8 +890,12 @@ .if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386" || \ ${MACHINE_CPUARCH} == "aarch64" _ipmi.4= ipmi.4 +_iwlwifi.4= iwlwifi.4 +_iwlwififw.4= iwlwififw.4 _linux.4= linux.4 _ossl.4= ossl.4 +_rtw88.4= rtw88.4 +_rtw88fw.4= rtw88fw.4 .endif .if ${MACHINE_CPUARCH} == "arm" || ${MACHINE_CPUARCH} == "aarch64" || \