Re: Extraneous dependencies in bind920

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

> On Mar 13, 2026, at 01:16, bob prohaska <[email protected]> wrote:
> 
> On Thu, Mar 12, 2026 at 08:00:13PM +0100, Moin Rahman wrote:
> 
> [long conversation about building bind920 without huge graphics
> dependencies omitted]
> 
>> I think I mistyped something:
>> 
>> .if ${.CURDIR:M*/dns/*}
>> OPTIONS_UNSET+=DOCS
>> .endif
>> 
>> This should work.
> 
> Seems not, to my eye:
> [main-default] [2026-03-12_16h03m32s] [balancing_pool] Queued: 14 Built: 0  Failed: 0  Skipped: 0  Ignored: 0  Fetched: 0  Tobuild: 14  Time: 00:14:23
> [00:16:44] Recording filesystem state for prepkg... done
> [00:16:48] Building 14 packages using up to 4 builders
> [00:16:48] Hit CTRL+t at any time to see build progress and stats
> [00:16:48] [01] [00:00:00] Builder starting
> [00:16:49] [02] [00:00:00] Builder starting
> [00:16:49] [03] [00:00:00] Builder starting
> [00:16:49] [04] [00:00:00] Builder starting
> [00:20:52] [03] [00:04:03] Builder started
> [00:20:52] [04] [00:04:03] Builder started
> [00:20:52] [01] [00:04:04] Builder started
> [00:20:52] [04] [00:00:00] Building print/texlive-texmf | texlive-texmf-20250308_1
> [00:20:52] [01] [00:00:00] Building dns/libidn | libidn-1.43
> [00:20:52] [03] [00:00:00] Building graphics/poppler | poppler-25.10.0_1
> [00:20:52] [02] [00:04:03] Builder started
> [00:20:52] [02] [00:00:00] Building print/harfbuzz-icu | harfbuzz-icu-12.3.2
> 
> Maybe I edited the wrong file or added a typo of my own? 
> 
> 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?
> 
> Thanks for writing!
> 
> bob prohaska
> 
> 

So what you are missing is it turns off DOCS only in dns but there
are other dependencies and I can see that those are actually called
in from devel/protobuf-c rather than anything in dns. If you will
see the buildlog of dns/bind920 you will see that DOCS is turned
off. So maybe try
devel_protobuf-c_UNSET+=DOCS

Check if other ports are calling in those one by one.

These are my production server setup:
OPTIONS_SET+=BE_NATIVE INSULTS LSOF OPTIMIZED_CFLAGS
OPTIONS_UNSET+=ALSA BE_FREEBSD BE_STANDARD CUPS DEBUG DOCS DOXYGEN \
  DTRACE EXAMPLES GTK2 HTMLDOCS IDN IDN2 INFO \
  LADSPA LANG_AF LANG_AK LANG_AM LANG_AR LANG_AST LANG_BB \
  LANG_BE LANG_BG LANG_BN LANG_BR LANG_BS LANG_CA LANG_CS \
  LANG_CY LANG_DA LANG_DE LANG_EL LANG_EO LANG_ES LANG_ET \
  LANG_EU LANG_FA LANG_FI LANG_FR LANG_FY LANG_GA LANG_GB \
  LANG_GD LANG_GL LANG_GU LANG_HE LANG_HI LANG_HR LANG_HU \
  LANG_ID LANG_IS LANG_IT LANG_JA LANG_JP LANG_KK LANG_KN \
  LANG_KO LANG_KU LANG_LG LANG_LK LANG_LT LANG_LV LANG_MAI \
  LANG_MK LANG_ML LANG_MN LANG_MR LANG_NB LANG_NL LANG_NN \
  LANG_NSO LANG_OR LANG_PA LANG_PBR LANG_PL LANG_PT LANG_RM \
  LANG_RO LANG_RU LANG_SA LANG_SC LANG_SE LANG_SI LANG_SK \
  LANG_SL LANG_SM LANG_SON LANG_SQ LANG_SR LANG_SV LANG_TA \
  LANG_TE LANG_TH LANG_TR LANG_UA LANG_UK LANG_VI LANG_ZA \
  LANG_ZU LANG_TW \
  NLS OPENMP PDF PDFDOCS PERFSCHM PULSEAUDIO TEST WAYLAND X11

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

iQKTBAEBCgB9FiEETfdREoUGjQZKBS+fvbm1phfAvJEFAmmzu4VfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDRE
Rjc1MTEyODUwNjhEMDY0QTA1MkY5RkJEQjlCNUE2MTdDMEJDOTEACgkQvbm1phfA
vJH2IQ//YULLqRnAI/Vxxhr4Gq65HPMt54jSpxASxELGoZm5lKbxk8uHKj7mGuIA
SKpmnp4axMXhrNrcmfLS/nppvDH1bSwUFpY1EVXKpxdml4lDA+gHKrUePkVGrtmj
Q1fAWuwGQNFJtC7cS47I41p2n6/jlcn17tOcZ4PYbPstpzhVi5nfJX0i5jida96W
E49V8vmQ+fs9spGC7LB0n9sHfthslRKdgu4a/IKwyarhrtXrGXXyPMZRHfNToCrw
h7USn5wvIy0kXLpS9fzZlh4X44sCkc7oc5swAkUIlLL3QaoMuNq6C0ShgS40Xa5Z
3E7q/t56d8dfWWTa3adr5XlVCrO83IOx3vNRLF7TafHoQZxdaqgFGZRlYYs4o0Ya
VUQjelUB5j2qgeJEvze+oTq3W6nmg+5XBkIn22h0nfN65yMqYtaCSl3fQkHZhKtF
j2+9Eyrz+N9FgO1aHFbNQXPCPnE5HQinQxl8RbnzbYZVmYtGf+URLwsvY0tV4MQy
IAmcu0s3x7O5yzNzJcRzrAbgbhNTF4+Rw8sCf3RCScS5aVZ8jrNmZ8CFJjSkMArS
RvvSAx1T2FRPi5KzkqGJGF4Ctt8+WwH1zJZW7SS1CQQqbQ8Garh2D8Y4gXTj37RF
Vjxv8ThEx2FnF8J3pD8/Hw6SHlkwCJjxmci10LJsDcbqYU+UlRE=
=pDG/
-----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.