package/proftpd: add pcre2 optional dependency

pcre2 is an optional dependency since version 1.3.8 and
e63cf016f5

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2023-02-28 23:07:40 +01:00 committed by Peter Korsgaard
parent b3b2ef0302
commit 091655d9ad

View File

@ -31,6 +31,13 @@ ifeq ($(BR2_PACKAGE_LIBIDN2),y)
PROFTPD_DEPENDENCIES += libidn2
endif
ifeq ($(BR2_PACKAGE_PCRE2),y)
PROFTPD_CONF_OPTS += --enable-pcre2
PROFTPD_DEPENDENCIES += pcre2
else
PROFTPD_CONF_OPTS += --disable-pcre2
endif
ifeq ($(BR2_PACKAGE_PROFTPD_MOD_CAP),y)
PROFTPD_CONF_OPTS += --enable-cap
PROFTPD_DEPENDENCIES += libcap