Page MenuHomeFreeBSD

D16198.id45077.diff
No OneTemporary

D16198.id45077.diff

Index: share/man/man4/Makefile
===================================================================
--- share/man/man4/Makefile
+++ share/man/man4/Makefile
@@ -867,9 +867,12 @@
_nvme.4= nvme.4
.endif
-.if exists(${.CURDIR}/man4.${MACHINE_CPUARCH})
-SUBDIR= man4.${MACHINE_CPUARCH}
+MAN_ARCH?= ${MACHINE_CPUARCH}
+.for __arch in ${MAN_ARCH}
+.if exists(${.CURDIR}/man4.${__arch})
+SUBDIR+= man4.${__arch}
.endif
+.endfor
.if ${MK_BLUETOOTH} != "no"
MAN+= ng_bluetooth.4
Index: share/man/man5/make.conf.5
===================================================================
--- share/man/man5/make.conf.5
+++ share/man/man5/make.conf.5
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd February 23, 2017
+.Dd July 9, 2018
.Dt MAKE.CONF 5
.Os
.Sh NAME
@@ -399,6 +399,11 @@
.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 ARCH and/or CPUARCH values
+for which section 4 man pages will be installed.
+The default is the MACHINE_CPUARCH 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
Tue, Apr 21, 9:44 AM (13 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31902934
Default Alt Text
D16198.id45077.diff (1 KB)

Event Timeline