diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2024-02-09 17:21:15 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2024-02-09 17:22:13 +0000 |
commit | 1995ea1ea2654d5c32ef17ddf651380ecc23c635 (patch) | |
tree | 6eb953cb6da8e2239e634c02555e91209101311c | |
parent | aa3b7a2fbc4687c0a09b6166aa2c2d117989d8fa (diff) | |
download | src-1995ea1ea2654d5c32ef17ddf651380ecc23c635.tar.gz src-1995ea1ea2654d5c32ef17ddf651380ecc23c635.zip |
libsys: add guards to MD manpages
This avoids duplicate installations which fail packaging tests.
Reported by: emaste
-rw-r--r-- | lib/libsys/i386/Makefile.sys | 2 | ||||
-rw-r--r-- | lib/libsys/x86/Makefile.sys | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/libsys/i386/Makefile.sys b/lib/libsys/i386/Makefile.sys index f42c5f7ec0ef..2957dc548cf8 100644 --- a/lib/libsys/i386/Makefile.sys +++ b/lib/libsys/i386/Makefile.sys @@ -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" diff --git a/lib/libsys/x86/Makefile.sys b/lib/libsys/x86/Makefile.sys index d5e4cd75e78b..483d1784bdc9 100644 --- a/lib/libsys/x86/Makefile.sys +++ b/lib/libsys/x86/Makefile.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" |