Patchwork gnuchess: add missing dependencies on flex and host-flex

login
register
mail settings
Submitter Thomas Petazzoni
Date March 25, 2013, 7:42 a.m.
Message ID <1364197350-10614-1-git-send-email-thomas.petazzoni@free-electrons.com>
Download mbox | patch
Permalink /patch/230582/
State Accepted
Commit 48465f0796b0ffc53300161b746ff20ccce1e8df
Headers show

Comments

Thomas Petazzoni - March 25, 2013, 7:42 a.m.
And also add a missing newline and licensing informations while we're
at it.

Fixes:
http://autobuild.buildroot.org/results/2851f23990c9f6642b1e706a94b1afc15a24b6f7/build-end.log.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/gnuchess/Config.in   |    1 +
 package/gnuchess/gnuchess.mk |    6 +++++-
 2 files changed, 6 insertions(+), 1 deletion(-)
Peter Korsgaard - March 25, 2013, 7:56 a.m.
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 Thomas> And also add a missing newline and licensing informations while we're
 Thomas> at it.

 Thomas> Fixes:
 Thomas> http://autobuild.buildroot.org/results/2851f23990c9f6642b1e706a94b1afc15a24b6f7/build-end.log.

Committed, thanks.

Patch

diff --git a/package/gnuchess/Config.in b/package/gnuchess/Config.in
index c79c52d..105fbbc 100644
--- a/package/gnuchess/Config.in
+++ b/package/gnuchess/Config.in
@@ -1,6 +1,7 @@ 
 config BR2_PACKAGE_GNUCHESS
 	bool "gnuchess"
 	depends on BR2_TOOLCHAIN_HAS_THREADS
+	select BR2_PACKAGE_FLEX
 	help
 	  GNU Chess lets most modern computers play a full game of chess.
 
diff --git a/package/gnuchess/gnuchess.mk b/package/gnuchess/gnuchess.mk
index 3e0b724..90d2274 100644
--- a/package/gnuchess/gnuchess.mk
+++ b/package/gnuchess/gnuchess.mk
@@ -3,11 +3,15 @@ 
 # gnuchess
 #
 #############################################################
+
 GNUCHESS_VERSION = 5.07
 GNUCHESS_SOURCE = gnuchess-$(GNUCHESS_VERSION).tar.gz
 GNUCHESS_SITE = $(BR2_GNU_MIRROR)/chess
+GNUCHESS_LICENSE = GPLv2+
+GNUCHESS_LICENSE_FILES = COPYING
 
-GNUCHESS_DEPENDENCIES = $(if $(BR2_PACKAGE_READLINE),readline)
+GNUCHESS_DEPENDENCIES = host-flex flex
+GNUCHESS_DEPENDENCIES += $(if $(BR2_PACKAGE_READLINE),readline)
 
 $(eval $(autotools-package))