git: 15d781b53233 - main - lib: Gate libfigpar under MK_DIALOG

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Tue, 16 Aug 2022 19:16:07 UTC
The branch main has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=15d781b5323315afaed06fb2f2499f9164e1ef86

commit 15d781b5323315afaed06fb2f2499f9164e1ef86
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2022-07-21 14:52:24 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-08-16 19:15:12 +0000

    lib: Gate libfigpar under MK_DIALOG
    
    libfigpar is only used by dpv and dpv isn't built if WITHOUT_DIALOG
    is set.
---
 lib/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/Makefile b/lib/Makefile
index 482e4d603f4b..3f94cbc1f073 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -57,7 +57,6 @@ SUBDIR=	${SUBDIR_BOOTSTRAP} \
 	libexecinfo \
 	libexpat \
 	libfetch \
-	libfigpar \
 	libgcc_eh \
 	libgcc_s \
 	libgeom \
@@ -170,7 +169,7 @@ SUBDIR+=	clang
 SUBDIR.${MK_CUSE}+= 	libcuse
 SUBDIR.${MK_CXX}+=	libdevdctl
 SUBDIR.${MK_TOOLCHAIN}+=libpe
-SUBDIR.${MK_DIALOG}+=	libdpv
+SUBDIR.${MK_DIALOG}+=	libdpv libfigpar
 SUBDIR.${MK_FILE}+=	libmagic
 SUBDIR.${MK_GPIO}+=	libgpio
 SUBDIR.${MK_GSSAPI}+=	libgssapi librpcsec_gss