Hi, would it be possible to make the ALSA dependency optional? I know it disables sound support in the JDK, but I have never used it before and likely never will. Openjdk8 is the only one of my installed ports left that has an alsa-lib dependency. The attached patch adds a new default option ALSA to the port, which users can turn off if they choose to. Poudriere test builds on FreeBSD 11.0-RELEASE/amd64 are ok with either ALSA=on or ALSA=off.
Created attachment 182371 [details] java___openjdk8.diff
Comment on attachment 182371 [details] java___openjdk8.diff > +ALSA_CONFIGURE_ARGS= --with-alsa=${LOCALBASE} _CONFIGURE_ARGS helper doesn't exist. See Mk/bsd.options.mk. Did you mean _CONFIGURE_ON? $ make -V CONFIGURE_ARGS:M\*alsa\* WITH=ALSA
Created attachment 182465 [details] java___openjdk8.diff (In reply to Jan Beich from comment #2) Yep :) Fixed.
Maintainer timeout. Waiting 6 weeks should be enough :)
A commit references this bug: Author: tobik Date: Tue Jun 27 08:35:25 UTC 2017 New revision: 444448 URL: https://svnweb.freebsd.org/changeset/ports/444448 Log: Add a new ALSA default option to make it possible to disable ALSA support and build the JDK without an ALSA dependency PR: 219125 Reviewed by: jbeich Approved by: mat (mentor), java (maintainer timeout, 6+ weeks) Differential Revision: https://reviews.freebsd.org/D11331 Changes: head/java/openjdk8/Makefile