git: 614385492c2e - main - deskutils/crengine-ng: Add CMake arg guard for WEBP option
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 10 Oct 2026 17:30:30 UTC
The branch main has been updated by kenrap:
URL: https://cgit.FreeBSD.org/ports/commit/?id=614385492c2e0177d1df09cd81b41ae35a707981
commit 614385492c2e0177d1df09cd81b41ae35a707981
Author: Kenneth Raplee <kenrap@FreeBSD.org>
AuthorDate: 2026-10-10 16:53:37 +0000
Commit: Kenneth Raplee <kenrap@FreeBSD.org>
CommitDate: 2026-10-10 17:26:47 +0000
deskutils/crengine-ng: Add CMake arg guard for WEBP option
Also add gettext dependency and fix some Makefile formatting.
Reported by: Daniel Engberg <diizzy@FreeBSD.org>
Approved by: arrowd (co-mentor)
---
deskutils/crengine-ng/Makefile | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/deskutils/crengine-ng/Makefile b/deskutils/crengine-ng/Makefile
index 226ca5d1178c..6513fa1d9de8 100644
--- a/deskutils/crengine-ng/Makefile
+++ b/deskutils/crengine-ng/Makefile
@@ -19,21 +19,22 @@ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libutf8proc.so:textproc/utf8proc \
libzstd.so:archivers/zstd
-USES= cmake pkgconfig desktop-file-utils jpeg
+USES= cmake desktop-file-utils gettext-runtime jpeg pkgconfig
USE_GITLAB= yes
GL_ACCOUNT= coolreader-ng
-CMAKE_ARGS= -D CRE_BUILD_STATIC=OFF \
- -D DOC_DATA_COMPRESSION_LEVEL=3
+CMAKE_ARGS= -DCRE_BUILD_STATIC=OFF \
+ -DDOC_DATA_COMPRESSION_LEVEL=3
.if defined(WITH_LTO)
-CMAKE_ARGS+= -D ENABLE_LTO=ON
+CMAKE_ARGS+= -DENABLE_LTO=ON
.endif
OPTIONS_DEFINE= WEBP
OPTIONS_DEFAULT= WEBP
WEBP_LIB_DEPENDS= libwebp.so:graphics/webp
+WEBP_CMAKE_BOOL= WITH_WEBP
.include <bsd.port.mk>