git: f00fe30e33ff - main - dns/bind918: fails to build with MANPAGES=off if sphinx is installed

From: Koichiro Iwao <meta_at_FreeBSD.org>
Date: Fri, 15 Sep 2023 02:12:01 UTC
The branch main has been updated by meta:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f00fe30e33ff2490e7e985067cc28f8eaeb24550

commit f00fe30e33ff2490e7e985067cc28f8eaeb24550
Author:     Michael Osipov <michael.osipov@siemens.com>
AuthorDate: 2023-08-14 09:16:01 +0000
Commit:     Koichiro Iwao <meta@FreeBSD.org>
CommitDate: 2023-09-15 02:11:01 +0000

    dns/bind918: fails to build with MANPAGES=off if sphinx is installed
    
    PR:             272995
    Approved by:    maintainer timeout (mat)
    Reviewed by:    meta
---
 dns/bind918/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dns/bind918/Makefile b/dns/bind918/Makefile
index 5410e2297e31..92cd005bf74f 100644
--- a/dns/bind918/Makefile
+++ b/dns/bind918/Makefile
@@ -177,6 +177,10 @@ USE_PERL5=		build
 BUILD_DEPENDS+=		cmocka>0:sysutils/cmocka
 .endif
 
+.if !${PORT_OPTIONS:MMANPAGES} && !${PORT_OPTIONS:MDOCS}
+CONFIGURE_ENV+=		ac_cv_path_SPHINX_BUILD=
+.endif
+
 .include <bsd.port.pre.mk>
 
 .if ${SSL_DEFAULT} == base