git: 70b5c4ff4807 - main - stand: Install libsa.3

From: Warner Losh <imp_at_FreeBSD.org>
Date: Sat, 30 Apr 2022 18:52:14 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=70b5c4ff4807656307d1cb2f7193916ebab94893

commit 70b5c4ff4807656307d1cb2f7193916ebab94893
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-04-30 18:51:19 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-04-30 18:52:19 +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
---
 stand/libsa/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/stand/libsa/Makefile b/stand/libsa/Makefile
index 781194d0a28d..6f2eaf3d959e 100644
--- a/stand/libsa/Makefile
+++ b/stand/libsa/Makefile
@@ -191,4 +191,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>