gnuchess: fix configure cache issue with readline
authorPeter Korsgaard <jacmet@sunsite.dk>
Tue, 27 Jul 2010 07:25:39 +0000 (09:25 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 27 Jul 2010 07:26:57 +0000 (09:26 +0200)
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>
CHANGES
package/games/gnuchess/gnuchess.mk

diff --git a/CHANGES b/CHANGES
index 2f776af0eb57363336a7381944f2152a1ca96b79..5aa39fba47c27fd1b4785110f34a180edc3c6894 100644 (file)
--- a/CHANGES
+++ b/CHANGES
        berkeleydb, bash, blackbox, busybox, bzip2, cdrkit, cmake,
        dash, dhcp, dialog, diffutils, distcc, dmalloc, dnsmasq,
        dropbear, e2fsprogs, fbv, file, flex, fontconfig, gawk, gmpc,
-       gst-plugins-base, gst-plugins-good, gstreamer, gzip, intltool,
-       ipsec-tools, iptables, iw, libart, libcgi, libdrm, libfuse,
-       libgpg-error, libidn, liblockfile, libpng, lighttpd, links,
-       linux-fusion, lmbench, lrzsz, ltrace, make, module-init-tools,
-       mplayer, mysql_client, nbd, ncurses, neon, netcat, netperf,
-       ntfsprogs, openssl, php, qt, quagga, setserial, sdl, sdl_mixer,
-       sdl_sound, sdl_ttf, sqlite, squashfs, swfdec, tftpd, thttpd,
-       tn5250, tremor, usbutils, webif, wireless_tools,
-       xkeyboard-config, xserver_xorg-server, xvkbd
+       gnuchess, gst-plugins-base, gst-plugins-good, gstreamer, gzip,
+       intltool, ipsec-tools, iptables, iw, libart, libcgi, libdrm,
+       libfuse, libgpg-error, libidn, liblockfile, libpng, lighttpd,
+       links, linux-fusion, lmbench, lrzsz, ltrace, make,
+       module-init-tools, mplayer, mysql_client, nbd, ncurses, neon,
+       netcat, netperf, ntfsprogs, openssl, php, qt, quagga,
+       setserial, sdl, sdl_mixer, sdl_sound, sdl_ttf, sqlite,
+       squashfs, swfdec, tftpd, thttpd, tn5250, tremor, usbutils,
+       webif, wireless_tools, xkeyboard-config, xserver_xorg-server,
+       xvkbd
 
        Removed packages: modutils, portage, rxvt
 
index d5a8dd65acea07b0c2504d352aa1783cfffc390f..8e331a469fd54abfa96cbb6f193404213d76fe29 100644 (file)
@@ -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))