mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-29 08:08:37 +00:00
libsys: add guards to MD manpages
This avoids duplicate installations which fail packaging tests. Reported by: emaste
This commit is contained in:
parent
aa3b7a2fbc
commit
1995ea1ea2
@ -5,9 +5,11 @@ SRCS+= i386_get_fsbase.c i386_get_gsbase.c i386_get_ioperm.c i386_get_ldt.c \
|
||||
|
||||
MDASM= vfork.S cerror.S getcontext.S syscall.S
|
||||
|
||||
.if ${LIB} == "sys"
|
||||
MAN+= i386_get_ioperm.2 i386_get_ldt.2 i386_vm86.2
|
||||
MAN+= i386_set_watch.3
|
||||
|
||||
MLINKS+=i386_get_ioperm.2 i386_set_ioperm.2
|
||||
MLINKS+=i386_get_ldt.2 i386_set_ldt.2
|
||||
MLINKS+=i386_set_watch.3 i386_clr_watch.3
|
||||
.endif # ${LIB} == "sys"
|
||||
|
@ -5,8 +5,10 @@ SRCS+= \
|
||||
pkru.c \
|
||||
sched_getcpu_x86.c
|
||||
|
||||
.if ${LIB} == "sys"
|
||||
MAN+= \
|
||||
pkru.3
|
||||
.endif # ${LIB} == "sys"
|
||||
|
||||
# Note: vdso support for hyperv only on amd64
|
||||
.if ${MACHINE_CPUARCH} == "amd64" && ${MK_HYPERV} != "no"
|
||||
|
Loading…
Reference in New Issue
Block a user