Created attachment 203860 [details] openjdk8-8.212.4.1.log The port fails to configure if FONTCONFIG option is disabled. If enabled it works fine. I have attached Poudriere log.
Created attachment 203862 [details] patch file Looks like x11-fonts/fontconfig is always required and cannot depend on X11 knob.
(In reply to Dominik Lisiak from comment #0) FONTCONFIG implies X11 and x11-fonts/fontconfig currently depends on the X11, so configure fails without X11.
I also see this, and can also report that the port will build if either X11 or FONTCONFIG is set, so even if FONTCONFIG is off it can still build if X11 is on.
A commit references this bug: Author: glewis Date: Mon Apr 22 21:11:55 UTC 2019 New revision: 499687 URL: https://svnweb.freebsd.org/changeset/ports/499687 Log: Minor to whitespace to correct the PR for the previous commit. Previous commit was: Always depend on fontconfig PR: 237436 Submitted by: Dominik Lisiak <dominik.lisiak@bemsoft.pl> Changes: head/java/openjdk8/Makefile
Note that attempting to disable fontconfig with configure will yield the message: configure: error: It is not possible to disable the use of fontconfig. I.e. it is now a requirement as of 8u212. This makes the FONTCONFIG option confusing from a naming standpoint since fontconfig that will be a dependency even with the option off. It might be worth removing the option and always making the additional source code changes in that option to avoid the confusion.