Page MenuHomeFreeBSD

D16198.diff
No OneTemporary

D16198.diff

Index: head/share/man/man4/Makefile
===================================================================
--- head/share/man/man4/Makefile
+++ head/share/man/man4/Makefile
@@ -868,9 +868,18 @@
_nvme.4= nvme.4
.endif
-.if exists(${.CURDIR}/man4.${MACHINE_CPUARCH})
-SUBDIR= man4.${MACHINE_CPUARCH}
+.if empty(MAN_ARCH)
+__arches= ${MACHINE} ${MACHINE_ARCH} ${MACHINE_CPUARCH}
+.elif ${MAN_ARCH} == "all"
+__arches= ${:!/bin/sh -c "/bin/ls -d ${.CURDIR}/man4.*"!:E}
+.else
+__arches= ${MAN_ARCH}
.endif
+.for __arch in ${__arches:O:u}
+.if exists(${.CURDIR}/man4.${__arch})
+SUBDIR+= man4.${__arch}
+.endif
+.endfor
.if ${MK_BLUETOOTH} != "no"
MAN+= ng_bluetooth.4
Index: head/share/man/man5/make.conf.5
===================================================================
--- head/share/man/man5/make.conf.5
+++ head/share/man/man5/make.conf.5
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd February 23, 2017
+.Dd July 20, 2018
.Dt MAKE.CONF 5
.Os
.Sh NAME
@@ -399,6 +399,14 @@
.Xr malloc 3 .
It also defaults the A and J runtime options to off.
Disabled by default on -CURRENT.
+.It Va MAN_ARCH
+.Pq Vt str
+Space-delimited list of one or more MACHINE and/or MACHINE_ARCH values
+for which section 4 man pages will be installed.
+The special value
+.Sq all
+installs all available architectures.
+The default is the MACHINE and MACHINE_ARCH being built.
.It Va MODULES_WITH_WORLD
.Pq Vt bool
Set to build modules with the system instead of the kernel.

File Metadata

Mime Type
text/plain
Expires
Sat, Aug 22, 4:30 AM (15 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37065478
Default Alt Text
D16198.diff (1 KB)

Event Timeline