summaryrefslogtreecommitdiff
path: root/package/games
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-07-27 09:25:39 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-07-27 09:26:57 +0200
commita731c7d6235306a6ecb29ff7848682736fde7a7b (patch)
tree93b72eef8722fcddeb07599ef4c9d55301478707 /package/games
parent03bb359cb7c3bae307b6facc45aa95ccfaedfb48 (diff)
gnuchess: fix configure cache issue with readline
Make sure readline is built before gnuchess if enabled, so it correctly detects it and doesn't populate tgt-config.cache with invalid values. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/games')
-rw-r--r--package/games/gnuchess/gnuchess.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/games/gnuchess/gnuchess.mk b/package/games/gnuchess/gnuchess.mk
index d5a8dd65a..8e331a469 100644
--- a/package/games/gnuchess/gnuchess.mk
+++ b/package/games/gnuchess/gnuchess.mk
@@ -7,5 +7,7 @@ GNUCHESS_VERSION = 5.07
GNUCHESS_SOURCE = gnuchess-$(GNUCHESS_VERSION).tar.gz
GNUCHESS_SITE = $(BR2_GNU_MIRROR)/chess
+GNUCHESS_DEPENDENCIES = $(if $(BR2_PACKAGE_READLINE),readline)
+
$(eval $(call AUTOTARGETS,package/games,gnuchess))