[Bug 281814] postgres17-{client|server} pull in textproc/fop even with DOCS disabled

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 02 Oct 2024 11:08:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281814

            Bug ID: 281814
           Summary: postgres17-{client|server} pull in textproc/fop even
                    with DOCS disabled
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: raivo@lehma.com

Created attachment 253957
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=253957&action=edit
Move textproc/fop to DOCS_BUILD_DEPENDS

The PostgreSQL 17 ports have had BUILD_DEPENDS of textproc/fop added as a
blanket dependency, but it's apparently only necessary for building PDF
documentation of the software.
(https://www.postgresql.org/docs/current/docguide-build.html) It should not be
a hard requirement when DOCS are not built. Moreover, textproc/fop requires
OpenJDK to be present, and now building anything related to even
postgresql17-client pulls in OpenJDK 18, 19, 20, and 21 (if specified, and I
have). And extra. This means too much wasted CPU time. I propose removing
textproc/fop from the blanket BUILD_DEPENDS and moving it to DOCS_BUILD_DEPENDS
as seen in the attachment.

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