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:
parent
b3b2ef0302
commit
091655d9ad
@ -31,6 +31,13 @@ ifeq ($(BR2_PACKAGE_LIBIDN2),y)
|
|||||||
PROFTPD_DEPENDENCIES += libidn2
|
PROFTPD_DEPENDENCIES += libidn2
|
||||||
endif
|
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)
|
ifeq ($(BR2_PACKAGE_PROFTPD_MOD_CAP),y)
|
||||||
PROFTPD_CONF_OPTS += --enable-cap
|
PROFTPD_CONF_OPTS += --enable-cap
|
||||||
PROFTPD_DEPENDENCIES += libcap
|
PROFTPD_DEPENDENCIES += libcap
|
||||||
|
Loading…
Reference in New Issue
Block a user