package/cppcms: remove dependency to pcre

Upstream allows to replace pcre with std::regex since version 2.0.0:
731bc83a98

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>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Bernd Kuhls
2026-04-03 15:41:30 +02:00
committed by Julien Olivain
parent ec6b4dfd32
commit 9f44e9c879
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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