summaryrefslogtreecommitdiffstats
path: root/package/dialog/dialog.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-11-25 11:07:08 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2010-11-25 11:07:08 +0100
commitb9c5809a0bd697612da9185df03a17a0f699eb73 (patch)
tree71cd6898ef8bc8f391b85b0ce949e2dbd206342f /package/dialog/dialog.mk
parentbde876cdd373ce49f34e810169d86c279d959a16 (diff)
downloadbuildroot-novena-b9c5809a0bd697612da9185df03a17a0f699eb73.tar.gz
buildroot-novena-b9c5809a0bd697612da9185df03a17a0f699eb73.zip
dialog: fix build, ensure host includes aren't used
configure looks for libintl, so ensure it is available. Also make sure the host ncurses headers aren't used. Fix up Config.in indentation while we're at it. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/dialog/dialog.mk')
-rw-r--r--package/dialog/dialog.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/dialog/dialog.mk b/package/dialog/dialog.mk
index e8c2a0d18..e8f025f75 100644
--- a/package/dialog/dialog.mk
+++ b/package/dialog/dialog.mk
@@ -7,8 +7,13 @@ DIALOG_VERSION:=1.1-20100428
DIALOG_SOURCE:=dialog-$(DIALOG_VERSION).tgz
DIALOG_SITE:=ftp://invisible-island.net/dialog
DIALOG_CONF_OPT = --with-ncurses
+DIALOG_CONF_ENV = ac_cv_path_NCURSES_CONFIG=true LIBS=-lncurses
DIALOG_DEPENDENCIES = ncurses
+ifneq ($(BR2_ENABLE_LOCALE),y)
+DIALOG_DEPENDENCIES+=libiconv
+endif
+
define DIALOG_INSTALL_TARGET_CMDS
install -c $(@D)/dialog $(TARGET_DIR)/usr/bin/dialog
endef