From: Jose V Beneyto Date: Thu, 24 May 2012 19:56:23 +0000 (+0200) Subject: Fixed issue with ncurses (FS#27) X-Git-Url: http://gitweb/?a=commitdiff_plain;h=39efd9bafb589c1a1b20d6fc65c91d7a1e0eec76;p=initrd.git Fixed issue with ncurses (FS#27) --- diff --git a/Makefile b/Makefile index 7a23cd5..c33cd56 100644 --- a/Makefile +++ b/Makefile @@ -19,6 +19,8 @@ BUSYBOX_SOURCE = http://busybox.net/downloads/busybox-$(BUSYBOX_VERSION).tar.b DIALOG_VERSION = 1.1-20120215 DIALOG_SOURCE = ftp://dickey.his.com/dialog/dialog-$(DIALOG_VERSION).tgz +NCURSES_HEADER = $(CLFS)/usr/include/ncurses.h + .PHONY: all check-root busybox dialog initrd clean distclean all: initrd @@ -77,7 +79,7 @@ $(WORK)/dialog-$(DIALOG_VERSION)/_install/usr/bin/dialog: $(WORK)/dialog-$(DIALO $(TARGET)-strip $(WORK)/dialog-$(DIALOG_VERSION)/_install/usr/bin/dialog && \ touch $(WORK)/dialog-$(DIALOG_VERSION)/_install/usr/bin/dialog -dialog: $(WORK)/dialog-$(DIALOG_VERSION)/_install/usr/bin/dialog +dialog: $(NCURSES_HEADER) $(WORK)/dialog-$(DIALOG_VERSION)/_install/usr/bin/dialog dialog-clean: rm -vrf $(WORK)/dialog-$(DIALOG_VERSION) diff --git a/README b/README index e69de29..b806f12 100644 --- a/README +++ b/README @@ -0,0 +1 @@ +- to build 'dialog' you need 'ncurses' installed with pkgadd-cross in clfs