java/openjdk12 can not be built on FreeBSD 11.2-STABLE. Configure can not find jpeg.h. I've tried to add "--with-libjpeg-include" / "--with-libjpeg-lib" (as is done for libgif), but "configure" complains about these options: Using freetype: system checking for which libjpeg to use... system checking for JPEG... no checking jpeglib.h usability... no checking jpeglib.h presence... no checking for jpeglib.h... no configure: error: --with-libjpeg=system specified, but jpeglib.h not found! configure exiting with result code 1 % ls /usr/local/include/jpeglib.h /usr/local/include/jpeglib.h %
java/openjdk11 has same problem.
Please attach config.log
Also, what JPEG library do you have installed? Is it the default (jpeg-turbo) or something different?
Created attachment 203613 [details] config.log and configure.log for failed build on FreeBSD 11.2 with graphics/jpeg installed It is basic `graphics/jpeg` which was installed long time ago for some other port.
It works with jpeg-turbo, though.
At the moment the port is pulling in the jpeg dependency with USES=jpeg. The two libraries should be compatible, so maybe this is a bug in the jpeg detection which only impacts with the older version of the jpeg library.
Closing this because the older jpeg library has now been deleted from the ports collection and all ports now use jpeg-turbo.