Re: Extraneous dependencies in bind920

Moin Rahman <[email protected]>
Newsgroups gmane.os.freebsd.devel.ports
Message-ID <[email protected]>

> On Mar 12, 2026, at 17:37, bob prohaska <[email protected]> wrote:
> 
> On Thu, Mar 12, 2026 at 05:06:16PM +0100, Moin Rahman wrote:
>> 
>> 
>>> On Mar 12, 2026, at 16:32, Kurt Jaeger <[email protected]> wrote:
>>> 
>>> Hi!
>>> 
>>>>>> I just noticed that a poudriere build of dns/bind920 is compiling
>>>>>> things like ghostscript and cups.... Is that necessary? Can it be
>>>>>> prevented?
>>>>> 
>>>>> This might help, please test:
>>>>> 
>>>>> make config
>>>>> 
>>>>> DOCS=off
>>>> 
>>>> Apologies for being obtuse, is this part of the poudriere command
>>>> or something done directly in /usr/ports?
>>> 
>>> This probably can be done in /usr/ports/dns/bind920.
>>> 
>>> I have not tested all the details, but if poudriere is set up properly,
>>> it should write some entries to:
>>> 
>>> /var/db/ports/dns_bind920/options
>>> 
>>> which can be copied to
>>> 
>>> /usr/local/etc/poudriere.d/options/dns_bind920
>>> 
>>> to be picked up in the next poudriere run.
>>> 
>>>> As an aside, I'd like to
>>>> have the man pages, it's the GUI-related material that seems a waste
>>>> since this is for a headless server.
>>> 
>>> I have not analysed this in full detail, but I'm not sure man pages
>>> and the rest can easily be seperatly build.
>>> 
>>>> As an aside, quite a few Linux programs seem to have no man page.
>>>> It would be sad if FreeBSD went that route.
>>> 
>>> I agree, but this depends on the port and the nitty-gritty details
>>> of the app itself.
>>> 
>>> -- 
>>> [email protected]         +49 171 3101372                  Now what ?
>>> 
>> 
>> Easiest would be:
>> 
>> % echo "dns_bind920_UNSET+=DOCS >> /usr/local/etc/poudriere.d/make.conf
>> 
> 
> Hmm, could one substitute
> 
> echo "dns_UNSET+=DOCS" >> /usr/local/etc/poudriere.d/make.conf
> 
> to make the setting apply to everything in /usr/ports/dns ?
> 
> Thanks for writing!
> 
> bob prohaska

No. What you are looking for is:

.if ${.CURDIR:M*/dns}
OPTIONS_UNSET+=DOCS
.endif

Kind regards,
Moin
signature.asc (application/pgp-signature, 963 B)
-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEETfdREoUGjQZKBS+fvbm1phfAvJEFAmmy7AlfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDRE
Rjc1MTEyODUwNjhEMDY0QTA1MkY5RkJEQjlCNUE2MTdDMEJDOTEACgkQvbm1phfA
vJElHQ/8CjtgohRbSuzmPyU12D+voMzwDuT3rbdlpXTM1Dp5HQRZ4w5ggX8YRTy2
+ksdvpAgyZ9+8OxFUPgvZAMDDUh/W3H//olnPNMynP1ibgqqCYDjSEHXR8JCPeXh
OsvDFxgJFxVDRpNWZp/3Q7I3bEdF2FjS71pHUbLQXTKImKHvotQWE0H1WokrLca2
dcRQOB8/8einHXuLw/kymY2pVnf8egqVw7f+xJ7qk7TBulLmTXeB+thbEs/lbBZ2
8pv6DnTuxu3htV88fMroEpsuXGW1c4J2ofmEb/gcpb9yY7d1AuGKt1rwFHs2zY5e
CTz1PXY/NmGn1vh/YixC2XQxEWWqp7tTwyBr5P/b8p79gPvgXQ8+xnig1StIfSOi
jMEjCIvRLd74jDcUa4ZIia2GoPvPo38RYA4cwYmNwiCLHTxYrv8vkkNNyrs3Y+8G
WHp2n0yImdFPVzZeKpWwVMjUFo8dCl1BB4OEuGFaXVK9mXj8fZXjd8PpFwbBkon9
O7HTWp/VPpHrtg4e0lzn50R4ve0bt+CVeF0zBY36txLnyyWEkMRe/h9ZhlDvnQR8
agUkD1hGLKk2tFUenrWOkhkgmfctpzRy+B6DxaYPZQu7fERwP/gjAeqIAnCfLWAi
5lsisFXqXIo/hTgGuxEjo/wIBekBIYj8tD5F3Q10UJULQSPAmaE=
=yPl5
-----END PGP SIGNATURE-----
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.