[Bug 275401] lang/erlang lang/erlang-runtime24 lang/erlang-runtime25: Fix CHUNKS option

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 28 Nov 2023 07:20:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275401

--- Comment #2 from Stefan Grundmann <sg2342@googlemail.com> ---
the CHUNKS option in lang/erlang lang/erlang-runtime24 and
lang/erlang-runtime25 (default on) is not working as intended:
inline documentation is built but not staged and therefore not included in the
created package.

The reason is that the ports run

  'gmake all DOC_TARGETS=chunks docs'

to genereate the inline documentation (lib/*/doc/chunks/*.chunk) files
together with the usual build artifacts.

But the 'install' target does not handle these files and they never end up in
the staging dir.

The attached patch does update lang/erlang, lang/erlang-runtime24 and
lang/erlang-runtime26

For lang/erlang-runtime26 see
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271541

-- 
You are receiving this mail because:
You are the assignee for the bug.