[Buildroot] [git commit] package/brltty: add expat optional dependency

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sat Sep 28 20:46:18 UTC 2019


commit: https://git.buildroot.net/buildroot/commit/?id=def0f8d1347d800f37c68b31289758eb60da6239
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

expat optional dependency has been added in version 6.0 with
https://github.com/brltty/brltty/commit/a37febee8cc4215eaac668a064ebc590684122b7

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 package/brltty/brltty.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/brltty/brltty.mk b/package/brltty/brltty.mk
index 30114606f1..aee18d0b9a 100644
--- a/package/brltty/brltty.mk
+++ b/package/brltty/brltty.mk
@@ -50,6 +50,13 @@ else
 BRLTTY_CONF_OPTS += --without-espeak
 endif
 
+ifeq ($(BR2_PACKAGE_EXPAT),y)
+BRLTTY_DEPENDENCIES += expat
+BRLTTY_CONF_OPTS += --enable-expat
+else
+BRLTTY_CONF_OPTS += --disable-expat
+endif
+
 ifeq ($(BR2_PACKAGE_FLITE),y)
 BRLTTY_DEPENDENCIES += flite
 BRLTTY_CONF_OPTS += --with-flite=$(STAGING_DIR)/usr


More information about the buildroot mailing list