If you try to build graphics/povray37 without JPEG support then you'll get an error message: configure: error: cannot find a suitable JPEG library ===> Script "configure" failed unexpectedly. The solution is to change the line JPEG_CONFIGURE_OFF= --without-jpeg to JPEG_CONFIGURE_OFF= --without-libjpeg in the Makefile of the port as is also the case in graphics/povray38.
Created attachment 256325 [details] graphics/povray37: Properly disable JPEG support when JPEG=off
Thanks for catching this. Even though I could not reproduce your exact error, it's wront nonetheless, as JPEG support was enabled irrespective of the setting of the JPEG option. Patch has been attached.
Committed, Thanks!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3753b094024f12048e34cc6f1248ddf0569ae931 commit 3753b094024f12048e34cc6f1248ddf0569ae931 Author: Philipp Ost <bsd@philippost.de> AuthorDate: 2025-01-07 18:32:48 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2025-01-09 07:28:32 +0000 graphics/povray37: Fix build without JPEG PR: 283768 Reported by: freebsd@koenigbj.8bx.de graphics/povray37/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)