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
This commit is contained in:
Mathieu Arnold 2022-09-28 16:05:04 +02:00
parent 2197afce3a
commit 963e20c812

View File

@ -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