summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2012-07-26 16:18:37 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-07-30 19:22:43 +0200
commitfe355d22785479a646b7875c8b0404ca5d6292e8 (patch)
treee20a792c42146274db0bfd072dfae5115e4a0e4d
parenta2a4bf429b9bdaf00675b10d6a8a808ae688471a (diff)
less: build after busybox
Build less after busybox if it's enabled, since we prefer the full-blown version over the light one if it's enabled (and busybox would overwrite the link when built afterwards). Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/less/less.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/less/less.mk b/package/less/less.mk
index b758e468e..c0ecf207d 100644
--- a/package/less/less.mk
+++ b/package/less/less.mk
@@ -6,7 +6,8 @@
LESS_VERSION = 444
LESS_SITE = http://www.greenwoodsoftware.com/less
-LESS_DEPENDENCIES = ncurses
+# Build after busybox, full-blown is better
+LESS_DEPENDENCIES = ncurses $(if $(BR2_PACKAGE_BUSYBOX),busybox)
define LESS_INSTALL_TARGET_CMDS
$(INSTALL) -m 0755 $(@D)/less $(TARGET_DIR)/usr/bin/less