[Bug 264792] [patch] java/openjdk8: new port option CUPS

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 20 Jun 2022 17:57:55 UTC

            Bug ID: 264792
           Summary: [patch] java/openjdk8: new port option CUPS
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: easy, patch-ready
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: java@FreeBSD.org
          Reporter: eugen@freebsd.org
             Flags: maintainer-feedback?(java@FreeBSD.org)
          Assignee: java@FreeBSD.org

Created attachment 234819
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=234819&action=edit
new CUPS port option

I need to build net-mgmt/unifi7 that is headless Java application that requires
java/openjdk8 that depends on full CUPS port. In fact, it originally required
cups-client port only that was later removed and merged to full cups port, so
openjdk8 now requires full CUPS.

However, OpenJDK8 really needs only some header files out of CUPS distribution
and officially supports building --with-cups-include instead of --with-cups.

Proposed patch introduces new CUPS port option to java/openjdk8 that defaults
to ON to preserve current behaviour. With CUPS option turned OFF it skips build
dependency on full cups: instead, it downloads and extracts its distfile and
builds --with-cups-include pointing to extracted cups distfile.

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