summaryrefslogtreecommitdiff
path: root/package/at
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-07-27 09:45:26 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-07-27 10:02:06 +0200
commitc43f21339e9417b5f6939e04e02089b445581102 (patch)
tree0c0d0b215820424e2260e48ef4cf1f785c993eea /package/at
parenta731c7d6235306a6ecb29ff7848682736fde7a7b (diff)
at: fix configure cache issue with flex
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>
Diffstat (limited to 'package/at')
-rw-r--r--package/at/at.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/at/at.mk b/package/at/at.mk
index 3eb99a4ed..57b7847ac 100644
--- a/package/at/at.mk
+++ b/package/at/at.mk
@@ -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 \