Re: git: 963e20c81248 - main - dns/bind918: fix build in some obscure cases

From: Craig Leres <leres_at_freebsd.org>
Date: Thu, 29 Sep 2022 21:40:00 UTC
On 9/28/22 07:10, Mathieu Arnold wrote:
> The branch main has been updated by mat:
> 
> URL:https://cgit.FreeBSD.org/ports/commit/?id=963e20c81248fad134a246950a470f2b41e6a74f
> 
> commit 963e20c81248fad134a246950a470f2b41e6a74f
> Author:     Mathieu Arnold<mat@FreeBSD.org>
> AuthorDate: 2022-09-28 14:05:04 +0000
> Commit:     Mathieu Arnold<mat@FreeBSD.org>
> CommitDate: 2022-09-28 14:09:43 +0000
> 
>      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.

I was having trouble building dns/bind-tools no matter how I set DOCS 
and MANPAGES in dns/bind918 and/or dns/bind-tools. When I changed 
directory into the work/bind-9.18.7 directory and ran "make -V 
SPHINX_BUILD" it reported "no". I eventually tracked down a typo in the 
bind918 Makefile; the attached patch seems to work.

		Craig

Making all in man
gmake[4]: Entering directory 
'/wrkdirs/usr/ports/dns/bind-tools/work/bind-9.18.7/doc/man'
echo ".. |rndc_conf| replace:: ``@sysconfdir@/rndc.conf``\n.. |rndc_key| 
replace:: ``@sysconfdir@/rndc.key``\n.. |named_conf| replace:: 
``@sysconfdir@/named.conf``\n.. |bind_keys| replace:: 
``@sysconfdir@/bind.keys``\n.. |named_pid| replace:: 
``@runstatedir@/named.pid``\n.. |session_key| replace:: 
``@runstatedir@/session.key``"
.. |rndc_conf| replace:: @sysconfdir@/rndc.conf\n.. |rndc_key| replace:: 
@sysconfdir@/rndc.key\n.. |named_conf| replace:: 
@sysconfdir@/named.conf\n.. |bind_keys| replace:: 
@sysconfdir@/bind.keys\n.. |named_pid| replace:: 
@runstatedir@/named.pid\n.. |session_key| replace:: 
@runstatedir@/session.key
no -b man -d ./_build/.doctrees/man -W -c . -a -n -D 
version="@""PACKAGE_VERSION@" -D today="@""RELEASE_DATE@" -D 
release="@""PACKAGE_VERSION@" -D rst_epilog="$(printf 
"${man_RST_EPILOG}")"  . ./_build/man
/bin/sh: no: not found
gmake[4]: *** [Makefile:1007: manpages.stamp] Error 127
gmake[4]: Leaving directory 
'/wrkdirs/usr/ports/dns/bind-tools/work/bind-9.18.7/doc/man'
gmake[3]: *** [Makefile:453: all-recursive] Error 1
gmake[3]: Leaving directory 
'/wrkdirs/usr/ports/dns/bind-tools/work/bind-9.18.7/doc'
gmake[2]: *** [Makefile:575: all-recursive] Error 1
gmake[2]: Leaving directory 
'/wrkdirs/usr/ports/dns/bind-tools/work/bind-9.18.7'
gmake[1]: *** [Makefile:502: all] Error 2
gmake[1]: Leaving directory 
'/wrkdirs/usr/ports/dns/bind-tools/work/bind-9.18.7'
*** Error code 1