CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Fixed issue with ncurses (FS#27)
authorJose V Beneyto <sepen@crux.nu>
Thu, 24 May 2012 19:56:23 +0000 (21:56 +0200)
committerJose V Beneyto <sepen@crux.nu>
Thu, 24 May 2012 19:56:23 +0000 (21:56 +0200)
Makefile
README

index 7a23cd5d3e90afbc3e6d9b64ae76f516ae7c868f..c33cd5645be37806528f43dee0195a3659b6d4fa 100644 (file)
--- 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 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..b806f12574b3519b20abed532d3bfefa17a8144c 100644 (file)
--- a/README
+++ b/README
@@ -0,0 +1 @@
+- to build 'dialog' you need 'ncurses' installed with pkgadd-cross in clfs