From 39efd9bafb589c1a1b20d6fc65c91d7a1e0eec76 Mon Sep 17 00:00:00 2001 From: Jose V Beneyto Date: Thu, 24 May 2012 21:56:23 +0200 Subject: [PATCH] Fixed issue with ncurses (FS#27) --- Makefile | 4 +++- README | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) 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 -- 2.26.2