HomeFreeBSD

java/openjdk11: add new CUPS port option

Description

java/openjdk11: add new CUPS port option

UniFi controller is headless Java application that requires
OpenJDK that depends on full CUPS port. In fact, the latter originally
required cups-client port only that was later removed and merged
to full cups port, so openjdk11 now requires full CUPS.

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

This change introduces new CUPS port option to java/openjdk11
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.

Default build not affected, so PORTREVISION not changed.

PR: 264792
Approved by: java (maintainer timeout, over 7 months)

Details

Provenance
eugen_grosbein.netAuthored on Apr 15 2023, 4:27 AM
Parents
R11:737f97393947: x11-themes/Kvantum: Update to 1.0.10
Branches
Unknown
Tags
Unknown