Browse Source

less: depends on curses

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>
Thomas Petazzoni 15 years ago
parent
commit
5b9384337a
2 changed files with 2 additions and 1 deletions
  1. 1 1
      CHANGES
  2. 1 0
      package/less/less.mk

+ 1 - 1
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

+ 1 - 0
package/less/less.mk

@@ -6,6 +6,7 @@
 
 LESS_VERSION = 436
 LESS_SITE = http://www.greenwoodsoftware.com/less
+LESS_DEPENDENCIES = ncurses
 
 $(eval $(call AUTOTARGETS,package,less))