git: fd8ca3d51d81 - stable/15 - share/man/man4: Move non-USB man pages out of MK_USB block

From: Li-Wen Hsu <lwhsu_at_FreeBSD.org>
Date: Tue, 18 Aug 2026 14:02:03 UTC
The branch stable/15 has been updated by lwhsu:

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

commit fd8ca3d51d81cbb00a117d5220cad230777f4d33
Author:     Li-Wen Hsu <lwhsu@FreeBSD.org>
AuthorDate: 2026-08-15 12:59:19 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2026-08-18 13:59:41 +0000

    share/man/man4: Move non-USB man pages out of MK_USB block
    
    uart(4), unix(4), veriexec(4) and the gzero(4) MLINK are not USB
    things, but they were in the .if ${MK_USB} != "no" block.  So if we
    build with WITHOUT_USB, these man pages are lost.  Move them out of
    the block.
    
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit 1100d9eca9cb2860c58633a9176dd11a30850da4)
---
 share/man/man4/Makefile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile
index ffdc9f1c4473..9c91ac457b89 100644
--- a/share/man/man4/Makefile
+++ b/share/man/man4/Makefile
@@ -607,12 +607,15 @@ MAN=	aac.4 \
 	tun.4 \
 	tws.4 \
 	u2f.4 \
+	uart.4 \
 	udp.4 \
 	udplite.4 \
 	${_ufshci.4} \
 	unionfs.4 \
+	unix.4 \
 	ure.4 \
 	vale.4 \
+	veriexec.4 \
 	vga.4 \
 	vge.4 \
 	viapm.4 \
@@ -729,6 +732,7 @@ MLINKS+=fxp.4 if_fxp.4
 MLINKS+=gem.4 if_gem.4
 MLINKS+=genet.4 if_genet.4
 MLINKS+=geom.4 GEOM.4
+MLINKS+=geom_zero.4 gzero.4
 MLINKS+=gif.4 if_gif.4
 MLINKS+=gpio.4 gpiobus.4
 MLINKS+=gpioths.4 dht11.4
@@ -1082,7 +1086,6 @@ MAN+=	\
 	runfw.4 \
 	u3g.4 \
 	uark.4 \
-	uart.4 \
 	uath.4 \
 	ubsa.4 \
 	ubser.4 \
@@ -1113,7 +1116,6 @@ MAN+=	\
 	umodem.4 \
 	umoscom.4 \
 	ums.4 \
-	unix.4 \
 	upgt.4 \
 	uplcom.4 \
 	ural.4 \
@@ -1128,10 +1130,8 @@ MAN+=	\
 	uslcom.4 \
 	uvisor.4 \
 	uvscom.4 \
-	veriexec.4 \
 	zyd.4
 
-MLINKS+=geom_zero.4 gzero.4
 MLINKS+=mtw.4 if_mtw.4
 MLINKS+=otus.4 if_otus.4
 MLINKS+=rsu.4 if_rsu.4