at: fix configure cache issue with flex
authorPeter Korsgaard <jacmet@sunsite.dk>
Tue, 27 Jul 2010 07:45:26 +0000 (09:45 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 27 Jul 2010 08:02:06 +0000 (10:02 +0200)
Make sure flex is built before at 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/at/at.mk

diff --git a/CHANGES b/CHANGES
index 5aa39fba47c27fd1b4785110f34a180edc3c6894..2d3d32b2fc1a42b5d62e38613d796f1e77b28331 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -18,7 +18,7 @@
        New packages: cgilua, copas, coxpcall, ffmpeg, libsvgtiny,
        luafilesystem, luasocket, rings, wsapi, xavante, xterm
 
-       Updated/fixed packages: alsa-lib, alsamixergui, avahi,
+       Updated/fixed packages: alsa-lib, alsamixergui, at, avahi,
        berkeleydb, bash, blackbox, busybox, bzip2, cdrkit, cmake,
        dash, dhcp, dialog, diffutils, distcc, dmalloc, dnsmasq,
        dropbear, e2fsprogs, fbv, file, flex, fontconfig, gawk, gmpc,
index 3eb99a4edc35a43b237a2d206c8902ce14bcf2c1..57b7847ac7d4928f23e38a4e3d2b7a777839f8d2 100644 (file)
@@ -12,6 +12,8 @@ AT_INSTALL_TARGET = YES
 # no install-strip / install-exec
 AT_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
 
+AT_DEPENDENCIES = $(if $(BR2_PACKAGE_FLEX),flex)
+
 AT_CONF_OPT = \
         --with-jobdir=/var/spool/cron/atjobs \
         --with-atspool=/var/spool/cron/atspool \