Re: Extraneous dependencies in bind920

Miroslav Lachman <[email protected]>
Newsgroups gmane.os.freebsd.devel.ports
Message-ID <[email protected]>
On 13/03/2026 01:16, bob prohaska wrote:
> On Thu, Mar 12, 2026 at 08:00:13PM +0100, Moin Rahman wrote:

[...]

> bob@pelorus:/usr/local/etc/poudriere.d % more /usr/local/etc/poudriere.d/make.conf
> 
> .if ${.CURDIR:M*/dns/*}
> OPTIONS_UNSET+=DOCS
> .endif
> 
> Meanwhile ghostscript just started compiling....
> 
> I'll let it run, if I get a usable bind920 that's still useful.
> 
> It seems to me that the important distinction is between cli and gui
> ports, not whether docs are included in the build..
> 
> Might there be a switch for curses compatibility?

Years ago, a similar problem (the long time needed to build dependencies 
for documentation) led to the definition of this in our Poudriere setup:

    OPTIONS_UNSET= X11 GUI CUPS DOCS EXAMPLES NLS

The resulting packages are for headless machines, build is faster, the 
resulting packages are smaller, dependency chain is shorter, install and 
upgrade times are shorter. The disadvantage is that many build 
dependencies have different options than in the official repository, so 
they cannot be pre-fetched and must also be built.

Kind regards
Miroslav Lachman
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.