git: 53d0503e6b18 - main - graphics/openorienteering-mapper: fix build with DISABLE_LICENSES=yes
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 03 Jul 2026 20:30:56 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=53d0503e6b183aa342b949c5e0a75e16d75e94f2
commit 53d0503e6b183aa342b949c5e0a75e16d75e94f2
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2026-07-02 16:11:59 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2026-07-03 20:30:47 +0000
graphics/openorienteering-mapper: fix build with DISABLE_LICENSES=yes
If DISABLE_LICENSES=yes is set, gdal is built without license file.
Then:
CMake Error at doc/licensing/CMakeLists.txt:240 (message):
No license file for gdal (/usr/local/share/licenses/gdal*/LICENSE)
---
graphics/openorienteering-mapper/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/graphics/openorienteering-mapper/Makefile b/graphics/openorienteering-mapper/Makefile
index dc48bbcaacd7..e2739b6ad6f8 100644
--- a/graphics/openorienteering-mapper/Makefile
+++ b/graphics/openorienteering-mapper/Makefile
@@ -53,4 +53,8 @@ TEST_TEST_TARGET= test
TIFF_DESC= Support for TIFF
TIFF_USE= QT=imageformats
+.if defined(DISABLE_LICENSES)
+CMAKE_ARGS+= -DLICENSING_PROVIDER=OFF
+.endif
+
.include <bsd.port.mk>