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:09:43 +0000
commit963e20c81248fad134a246950a470f2b41e6a74f (patch)
tree79e12fd83129006060c48a209179e0ae1b91efe1
parent2197afce3a1e260aa277ee4fc45bab85b813e3a2 (diff)
downloadports-963e20c81248fad134a246950a470f2b41e6a74f.tar.gz
ports-963e20c81248fad134a246950a470f2b41e6a74f.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
-rw-r--r--dns/bind918/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/dns/bind918/Makefile b/dns/bind918/Makefile
index c531b65c519d..7e8706f62ca2 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:MMANMAGES} && !${PORT_OPTIONS:MDOCS}
+CONFIGURE_ENV+= ac_cv_path_SPHINX_BUILD=no
+.endif
+
.include <bsd.port.pre.mk>
.if ${SSL_DEFAULT} == base