From: Bernd Kuhls <bernd@kuhls.net>
To: buildroot@buildroot.org
Subject: [Buildroot] [PATCH 1/1] package/cppcms: Remove dependency to pcre
Date: Fri, 3 Apr 2026 15:41:30 +0200 [thread overview]
Message-ID: <20260403134130.675035-1-bernd@kuhls.net> (raw)
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
next reply other threads:[~2026-04-03 13:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-03 13:41 Bernd Kuhls [this message]
2026-04-03 18:20 ` [Buildroot] [PATCH 1/1] package/cppcms: Remove dependency to pcre Julien Olivain via buildroot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260403134130.675035-1-bernd@kuhls.net \
--to=bernd@kuhls.net \
--cc=buildroot@buildroot.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox