git: 197de660d2bf - stable/14 - hn: fix build on !x86

From: Warner Losh <imp_at_FreeBSD.org>
Date: Fri, 11 Oct 2024 22:11:31 UTC
The branch stable/14 has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=197de660d2bfcf027af5224902950d36dc0611c3

commit 197de660d2bfcf027af5224902950d36dc0611c3
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2024-09-21 13:54:32 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-10-11 22:10:23 +0000

    hn: fix build on !x86
    
    hv_netvm aren't installed on !x64. Do the canonical thing with the
    links.
    
    Fixes: 83e93d53f674
    Sponsored by: Netflix
    
    (cherry picked from commit e47939b3b110689b63bb14d0cf9f55ace4c7a8a2)
---
 share/man/man4/Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile
index 5f3d4b221465..d4b5e39e94d9 100644
--- a/share/man/man4/Makefile
+++ b/share/man/man4/Makefile
@@ -687,8 +687,8 @@ MLINKS+=gpioths.4 dht11.4
 MLINKS+=gpioths.4 dht22.4
 MLINKS+=gre.4 if_gre.4
 MLINKS+=hpet.4 acpi_hpet.4
-MLINKS+=hv_netvsc.4 hn.4 \
-	hv_netvsc.4 if_hn.4
+MLINKS+=${_hv_netvsc.4} ${_hn.4} \
+	${_hv_netvsc.4} ${_if_hn.4}
 MLINKS+=${_hptrr.4} ${_rr232x.4}
 MLINKS+=${_attimer.4} ${_i8254.4}
 MLINKS+=ip.4 rawip.4
@@ -812,6 +812,7 @@ _cpuctl.4=	cpuctl.4
 _dpms.4=	dpms.4
 _ftgpio.4=	ftgpio.4
 _ftwd.4=	ftwd.4
+_hn.4=		_hn.4
 _hpt27xx.4=	hpt27xx.4
 _hptiop.4=	hptiop.4
 _hptmv.4=	hptmv.4
@@ -827,6 +828,7 @@ _hwpstate_intel.4=	hwpstate_intel.4
 _i8254.4=	i8254.4
 _ichwd.4=	ichwd.4
 _if_bxe.4=	if_bxe.4
+_if_hn.4=	if_hn.4
 _if_nfe.4=	if_nfe.4
 _if_urtw.4=	if_urtw.4
 _if_vmx.4=	if_vmx.4