From: Fabrice Fontaine Date: Sat, 28 Sep 2019 12:08:35 +0000 (+0200) Subject: package/brltty: add pcre optional dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6fe9779dbc4bb08101081d181bf95601be9c3425;p=buildroot.git package/brltty: add pcre optional dependency pcre/pcre2 has been added in version 6.0 with: - https://github.com/brltty/brltty/commit/579cae458ad9e47a689c7063e600d7bc492cb176 - https://github.com/brltty/brltty/commit/e7f36c00dbfb2030ad67b9b7e159c6d847f1d7d9 Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- diff --git a/package/brltty/brltty.mk b/package/brltty/brltty.mk index aee18d0b9a..b9d608b9f5 100644 --- a/package/brltty/brltty.mk +++ b/package/brltty/brltty.mk @@ -78,6 +78,16 @@ else BRLTTY_CONF_OPTS += --without-curses endif +ifeq ($(BR2_PACKAGE_PCRE2_32),y) +BRLTTY_DEPENDENCIES += pcre2 +BRLTTY_CONF_OPTS += --with-rgx-package +else ifeq ($(BR2_PACKAGE_PCRE_32),y) +BRLTTY_DEPENDENCIES += pcre +BRLTTY_CONF_OPTS += --with-rgx-package +else +BRLTTY_CONF_OPTS += --without-rgx-package +endif + ifeq ($(BR2_PACKAGE_SYSTEMD),y) BRLTTY_DEPENDENCIES += systemd BRLTTY_CONF_OPTS += --with-service-package