Re: graphics/sane-backends build failure

From: <jonc_at_chen.org.nz>
Date: Thu, 04 May 2023 00:06:37 UTC
May 4, 2023 10:36 AM, "Vladimir Druzenko" <vvd@freebsd.org> wrote:

> 04.05.2023 00:22, jonc@chen.org.nz пишет:
> 
>> Hi,
>> 
>> After the update to 1.2.1, graphics/sane-backends is currently failing on STABLE/13 during the
>> 'package' phase with:
>> 
>> ===> Building package for sane-backends-1.2.1
>> pkg-static: Unable to access file
>> /construction/xports/graphics/sane-backends/work/stage/usr/local/share/doc/sane-backends/plustek/Mak
>> Module.sh:No such file or directory
>> pkg-static: Unable to access file
>> /construction/xports/graphics/sane-backends/work/stage/usr/local/share/doc/sane-backends/plustek/Mak
>> file.kernel24:No such file or directory
>> pkg-static: Unable to access file
>> /construction/xports/graphics/sane-backends/work/stage/usr/local/share/doc/sane-backends/plustek/Mak
>> file.kernel26:No such file or directory
>> *** Error code 1
>> 
>> --
>> Jonathan Chen <jonc@chen.org.nz>
> 
> Hi
> 
> This is non-default option DOCS.

This fix works, but I do not have any port-specific options set for graphics/sane-backends; but for some reason, DOCS=on is set when I build the port.

If I have read bsd.options.mk correctly, DOCS is always enabled by default?

Cheers.
--
Jonathan Chen <jonc@chen.org.nz>