* [Buildroot] [PATCH 1/1] package/cppcms: Remove dependency to pcre
@ 2026-04-03 13:41 Bernd Kuhls
2026-04-03 18:20 ` Julien Olivain via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2026-04-03 13:41 UTC (permalink / raw)
To: buildroot
Upstream allows to replace pcre with std::regex since version 2.0.0:
https://github.com/artyom-beilis/cppcms/commit/731bc83a980211a704e59a7049957ad579ca7c2f
We switch the package to the new code path to prepare for the removal
of the unmaintained pcre package.
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
package/cppcms/Config.in | 1 -
package/cppcms/cppcms.mk | 5 +++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/package/cppcms/Config.in b/package/cppcms/Config.in
index 48266e00c1..094dc473c0 100644
--- a/package/cppcms/Config.in
+++ b/package/cppcms/Config.in
@@ -4,7 +4,6 @@ config BR2_PACKAGE_CPPCMS
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
depends on !BR2_STATIC_LIBS # dlopen()
depends on BR2_USE_WCHAR
- select BR2_PACKAGE_PCRE
help
CppCMS is a Free High Performance Web Development Framework
(not a CMS) aimed for Rapid Web Application Development. It
diff --git a/package/cppcms/cppcms.mk b/package/cppcms/cppcms.mk
index b39122d12f..28167b0acc 100644
--- a/package/cppcms/cppcms.mk
+++ b/package/cppcms/cppcms.mk
@@ -15,9 +15,10 @@ CPPCMS_CXXFLAGS = $(TARGET_CXXFLAGS)
# path
CPPCMS_CONF_OPTS = \
-DCMAKE_SKIP_RPATH=ON \
- -DCMAKE_CXX_FLAGS="$(CPPCMS_CXXFLAGS)"
+ -DCMAKE_CXX_FLAGS="$(CPPCMS_CXXFLAGS)" \
+ -DDISABLE_PCRE=ON
-CPPCMS_DEPENDENCIES = host-python3 pcre
+CPPCMS_DEPENDENCIES = host-python3
ifeq ($(BR2_PACKAGE_CPPCMS_ICU),y)
CPPCMS_CONF_OPTS += -DDISABLE_ICU_LOCALE=OFF
--
2.47.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/cppcms: Remove dependency to pcre
2026-04-03 13:41 [Buildroot] [PATCH 1/1] package/cppcms: Remove dependency to pcre Bernd Kuhls
@ 2026-04-03 18:20 ` Julien Olivain via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Julien Olivain via buildroot @ 2026-04-03 18:20 UTC (permalink / raw)
To: Bernd Kuhls; +Cc: buildroot
On 03/04/2026 15:41, Bernd Kuhls wrote:
> Upstream allows to replace pcre with std::regex since version 2.0.0:
> https://github.com/artyom-beilis/cppcms/commit/731bc83a980211a704e59a7049957ad579ca7c2f
>
> We switch the package to the new code path to prepare for the removal
> of the unmaintained pcre package.
>
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Applied to master, thanks.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-04-03 18:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-03 13:41 [Buildroot] [PATCH 1/1] package/cppcms: Remove dependency to pcre Bernd Kuhls
2026-04-03 18:20 ` Julien Olivain via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox