git: 2b93cd564689 - stable/13 - stand: Install libsa.3

From: Warner Losh <imp_at_FreeBSD.org>
Date: Tue, 24 Jan 2023 22:10:30 UTC
The branch stable/13 has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=2b93cd564689a941141ac1f340e837e0b9642abe

commit 2b93cd564689a941141ac1f340e837e0b9642abe
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-04-30 18:51:19 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-01-24 21:49:21 +0000

    stand: Install libsa.3
    
    Turns out there is a libsa.3. It's a bit out of date, but we reference
    it in a number of places so we should install it. We need to do the DO32
    dance because this Makefile is included twice and we don't want it
    installing twice.
    
    Sponsored by:           Netflix
    
    (cherry picked from commit 70b5c4ff4807656307d1cb2f7193916ebab94893)
---
 stand/libsa/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/stand/libsa/Makefile b/stand/libsa/Makefile
index 284aa5452fca..621747a85d0f 100644
--- a/stand/libsa/Makefile
+++ b/stand/libsa/Makefile
@@ -202,4 +202,8 @@ SRCS+=  explicit_bzero.c crc32_libkern.c
 .include "${SASRC}/zfs/Makefile.inc"
 .endif
 
+.if ${DO32:U0} == 0
+MAN=libsa.3
+.endif
+
 .include <bsd.lib.mk>