From a731c7d6235306a6ecb29ff7848682736fde7a7b Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Tue, 27 Jul 2010 09:25:39 +0200 Subject: 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 --- package/games/gnuchess/gnuchess.mk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'package') 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)) -- cgit v1.2.3