Patchwork [2/2] fbterm pckg check for libexpat & libZ Signed-off-by: JoM <johann.mercadier@imerir.com>

login
register
mail settings
Submitter JoM
Date March 21, 2012, 11:26 p.m.
Message ID <1332372417-5120-2-git-send-email-johann.mercadier@imerir.com>
Download mbox | patch
Permalink /patch/148099/
State Rejected
Headers show

Comments

JoM - March 21, 2012, 11:26 p.m.
---
 package/fbterm/fbterm.mk |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
Thomas Petazzoni - Aug. 17, 2012, 4:44 p.m.
Le Wed, 21 Mar 2012 23:26:56 +0000,
JoM <johann.mercadier@imerir.com> a écrit :

> +ifeq ($(BR2_PACKAGE_ZLIB),y)
> +	FBTERM_DEPENDENCIES += zlib
> +endif
> +
> +FBTERM_DEPENDENCIES += $(if $(BR2_PACKAGE_EXPAT),expat)
> +

I don't understand why it is needed: I don't see any expat or zlib
related code in fbterm. Can you detail?

Thanks,

Thomas

Patch

diff --git a/package/fbterm/fbterm.mk b/package/fbterm/fbterm.mk
index 0c462a4..44f63f1 100644
--- a/package/fbterm/fbterm.mk
+++ b/package/fbterm/fbterm.mk
@@ -9,6 +9,12 @@  FBTERM_VERSION = 1.7.0
 FBTERM_SITE = http://fbterm.googlecode.com/files
 FBTERM_DEPENDENCIES += freetype fontconfig
 
+ifeq ($(BR2_PACKAGE_ZLIB),y)
+	FBTERM_DEPENDENCIES += zlib
+endif
+
+FBTERM_DEPENDENCIES += $(if $(BR2_PACKAGE_EXPAT),expat)
+
 define FBTERM_UNINSTALL_CMDS
 	rm -f $(TARGET_DIR)/$(FBTERM_TARGET_BINARY)
 endef