git: 7334d92f24f6 - stable/14 - share/man/man4: Move non-USB man pages out of MK_USB block

Li-Wen Hsu <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.src
Message-ID <6a8465f4.46cf9.2156d109__38933.9187344135$1787061766$gmane$org@gitrepo.freebsd.org>
The branch stable/14 has been updated by lwhsu:

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

commit 7334d92f24f670f64c5a4875984518d5e5f116af
Author:     Li-Wen Hsu <[email protected]>
AuthorDate: 2026-08-15 12:59:19 +0000
Commit:     Li-Wen Hsu <[email protected]>
CommitDate: 2026-08-18 13:59:56 +0000

    share/man/man4: Move non-USB man pages out of MK_USB block
    
    uart(4), unix(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 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile
index 6c0dae2d2d30..7b3de212ef3e 100644
--- a/share/man/man4/Makefile
+++ b/share/man/man4/Makefile
@@ -577,8 +577,10 @@ MAN=	aac.4 \
 	tty.4 \
 	tun.4 \
 	tws.4 \
+	uart.4 \
 	udp.4 \
 	udplite.4 \
+	unix.4 \
 	ure.4 \
 	vale.4 \
 	vga.4 \
@@ -696,6 +698,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
@@ -1012,7 +1015,6 @@ MAN+=	\
 	runfw.4 \
 	u3g.4 \
 	uark.4 \
-	uart.4 \
 	uath.4 \
 	ubsa.4 \
 	ubser.4 \
@@ -1041,7 +1043,6 @@ MAN+=	\
 	umodem.4 \
 	umoscom.4 \
 	ums.4 \
-	unix.4 \
 	upgt.4 \
 	uplcom.4 \
 	ural.4 \
@@ -1058,7 +1059,6 @@ MAN+=	\
 	uvscom.4 \
 	zyd.4
 
-MLINKS+=geom_zero.4 gzero.4
 MLINKS+=otus.4 if_otus.4
 MLINKS+=rsu.4 if_rsu.4
 MLINKS+=rtwn_usb.4 if_rtwn_usb.4
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.