From 6fe9779dbc4bb08101081d181bf95601be9c3425 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sat, 28 Sep 2019 14:08:35 +0200 Subject: [PATCH] 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 --- package/brltty/brltty.mk | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- 2.30.2