Created attachment 224659 [details]
Patch to fix disabling option EXR
In a discussion on ports@ LuMiWa <email@example.com> (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:
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
graphics/gdal/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)