package/sconeserver: pcre is optional, not mandatory
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Wed, 3 Mar 2021 18:12:28 +0000 (19:12 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 14 Mar 2021 22:28:02 +0000 (23:28 +0100)
pcre is optional not mandatory since
https://github.com/sconemad/sconeserver/commit/98ec61436c9ea68ffe2d70a818c1175dcafa2a79

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/sconeserver/Config.in
package/sconeserver/sconeserver.mk

index 09cf5d459cdffb356700f596e383524b0156b4bd..429ac81fe19cbacdd014d84149ac1d6f22645cf3 100644 (file)
@@ -3,7 +3,6 @@ menuconfig BR2_PACKAGE_SCONESERVER
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
        depends on !BR2_STATIC_LIBS # dlopen()
-       select BR2_PACKAGE_PCRE
        select BR2_PACKAGE_ZLIB
        help
          Sconeserver is a modular, object-orientated and extremely
index b81134002e5e695572ef7a2c4379b14c6ca61d38..62cc128d77c086eac6bdaac507cfc42cae59d958 100644 (file)
@@ -10,7 +10,10 @@ SCONESERVER_LICENSE = GPL-2.0+
 SCONESERVER_LICENSE_FILES = COPYING
 # fetching from Git, we need to generate the configure script
 SCONESERVER_AUTORECONF = YES
-SCONESERVER_DEPENDENCIES = host-pkgconf pcre zlib
+SCONESERVER_DEPENDENCIES = \
+       host-pkgconf \
+       $(if $(BR2_PACKAGE_PCRE),pcre) \
+       zlib
 # disable markdown module because its git submodule cmark
 # https://github.com/sconemad/sconeserver/tree/master/markdown
 # has no cross-compile support provided by the sconeserver build system