Skip to contentSkip to conversation

package/cppcms: Remove dependency to pcre

PATCH In review Bernd Kuhls 2 participants 2 messages Apr 3

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/cppcms: Remove dependency to pcre

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.

---
 package/cppcms/Config.in | 1 -
 package/cppcms/cppcms.mk | 5 +++--
 2 files changed, 3 insertions(+), 3 deletions(-)
package/cppcms/Config.in +0 -1
index 48266e00c1..094dc473c0 100644
@@ -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
package/cppcms/cppcms.mk +3 -2
index b39122d12f..28167b0acc 100644
@@ -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
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 7 lines · Bernd Kuhls

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.

Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot