maintainer-feedback requested: [Bug 264792] [patch] java/openjdk8: new port option CUPS

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 20 Jun 2022 17:57:55 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-java (Nobody)
<java@FreeBSD.org> for maintainer-feedback:
Bug 264792: [patch] java/openjdk8: new port option CUPS
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264792



--- Description ---
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.