[Bug 286288] java/openjdk11: use system harfbuzz, ccache, etc.

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 22 Apr 2025 17:32:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286288

            Bug ID: 286288
           Summary: java/openjdk11: use system harfbuzz, ccache, etc.
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: java@FreeBSD.org
          Reporter: mi@FreeBSD.org
          Assignee: java@FreeBSD.org
             Flags: maintainer-feedback?(java@FreeBSD.org)

Created attachment 259798
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=259798&action=edit
The patch...

1. Upstream's code allows using "system" -- preinstalled harfbuzz -- and so we
should be doing that.

2. A simple hack also allows to use ccache, if enabled locally.

3. Excluding certain files from being extracted saves space and, more
importantly, ensures, that the build does not use bundled headers -- which may
cause declarations of certain things to conflict with the actual definitions
found in the libraries.

That conflict is sure to exist with system harfbuzz -- the fact, which should
be communicated upstream -- and, possibly, with other packages too.

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