summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/at/at.mk2
-rw-r--r--package/diffutils/diffutils.mk4
-rw-r--r--package/games/gnuchess/gnuchess.mk2
3 files changed, 8 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 \
diff --git a/package/diffutils/diffutils.mk b/package/diffutils/diffutils.mk
index c0b383071..6ce71c927 100644
--- a/package/diffutils/diffutils.mk
+++ b/package/diffutils/diffutils.mk
@@ -9,6 +9,10 @@ DIFFUTILS_SITE:=$(BR2_GNU_MIRROR)/diffutils
DIFFUTILS_INSTALL_STAGING = YES
+DIFFUTILS_DEPENDENCIES = \
+ $(if $(BR2_PACKAGE_GETTEXT),gettext) \
+ $(if $(BR2_PACKAGE_LIBINTL),libintl)
+
DIFFUTILS_CONF_ENV = ac_cv_func_strtod=yes
ac_fsusage_space=yes \
fu_cv_sys_stat_statfs2_bsize=yes \
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))