Created attachment 224659 [details] Patch to fix disabling option EXR In a discussion on ports@ LuMiWa <lumiwa@dismail.de> (02.05.2021, 19:55) presented a breakage in the build of graphics/gdal, if option EXR is disabled, but graphics/openexr is present on the system. The Makefile uses EXR_CONFIGURE_ON=--with-exr, so this switch is not suppressed if the option is deselected. If EXR_CONFIGURE_WITH=exr is used instead, --with-exr is not used in the configure script if the option is deselected. The attached patch contains the corresponding change ;)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=23746f91b756086b6c7b798e9ae6531c8c9a4e3c commit 23746f91b756086b6c7b798e9ae6531c8c9a4e3c Author: Rainer Hurling <rhurlin@FreeBSD.org> AuthorDate: 2021-05-04 21:44:20 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2021-05-04 21:45:48 +0000 graphics/gdal: Fix EXR option PR: 255592 graphics/gdal/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Committed. Thanks!