less: depends on curses
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 10 May 2010 21:39:49 +0000 (23:39 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 11 May 2010 06:57:49 +0000 (08:57 +0200)
The less package already selects BR2_PACKAGE_CURSES, but it fails to
depend on it in the makefile. Therefore, there are cases where less
gets built before curses, and the build fails:

checking for working terminal libraries... Cannot find terminal libraries - configure failed

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
CHANGES
package/less/less.mk

diff --git a/CHANGES b/CHANGES
index 12702a4ecbd649c70d7e32dbde008d6dd9164d95..7dd7a5d261303afcfa4fbac2b743be938b17a130 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -3,7 +3,7 @@
        Fixes all over the tree.
 
        Updated/fixed packages: busybox, customize, hal, hostapd,
-       libxcb, mplayer, pciutils, xdriver_xf86-video-openchrome,
+       less, libxcb, mplayer, pciutils, xdriver_xf86-video-openchrome,
        usb_modeswitch, usbutils, wpa_supplicant, xapp_bdftopcf,
        xapp_mkfontdir, xfont_encodings, xlib_libX11, xlib_libXfont,
        xlib_xtrans, xproto_fontcacheproto, xproto_fontsproto, xvkbd
index 706a3e0267df48dd0d4b27af895dda1019fc7d11..bae1cf6546edafa35800a2b5fcebe73915142bc0 100644 (file)
@@ -6,6 +6,7 @@
 
 LESS_VERSION = 436
 LESS_SITE = http://www.greenwoodsoftware.com/less
+LESS_DEPENDENCIES = ncurses
 
 $(eval $(call AUTOTARGETS,package,less))