aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2022-09-28 14:05:04 +0000
committerMathieu Arnold <mat@FreeBSD.org>2022-09-28 14:10:54 +0000
commite629fd76022cf72d6c2bb35816fa8c082143172d (patch)
tree4332e319aa3768161f81ad92e99ff5da1bc27064
parentc0f99428c35709cbda75aecf4ae9cd3735a2210d (diff)
downloadports-e629fd76022cf72d6c2bb35816fa8c082143172d.tar.gz
ports-e629fd76022cf72d6c2bb35816fa8c082143172d.zip
dns/bind918: fix build in some obscure cases
If sphinx is installed while not requested, it gets picked up, tell configure that it really is not here, and things blow up. PR: 262773 MFH: yes (cherry picked from commit 963e20c81248fad134a246950a470f2b41e6a74f)
-rw-r--r--dns/bind918/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/dns/bind918/Makefile b/dns/bind918/Makefile
index e28c1a714d51..fbd4db198530 100644
--- a/dns/bind918/Makefile
+++ b/dns/bind918/Makefile
@@ -176,6 +176,10 @@ USE_PERL5= build
BUILD_DEPENDS+= cmocka>0:sysutils/cmocka
.endif
+.if !${PORT_OPTIONS:MMANMAGES} && !${PORT_OPTIONS:MDOCS}
+CONFIGURE_ENV+= ac_cv_path_SPHINX_BUILD=no
+.endif
+
.include <bsd.port.pre.mk>
.if ${SSL_DEFAULT} == base