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>
This commit is contained in:
Peter Korsgaard 2010-11-25 11:07:08 +01:00
parent bde876cdd3
commit b9c5809a0b
3 changed files with 17 additions and 12 deletions

View File

@ -4,10 +4,10 @@
Add support for LEON Sparc architecture variants. Add support for LEON Sparc architecture variants.
Updated/fixed packages: bash, bind, busybox, gpsd, libglib2, Updated/fixed packages: bash, bind, busybox, dialog, gpsd,
libcurl, libmad, lrzsz, midori, module-init-tools, mtd-utils, libglib2, libcurl, libmad, lrzsz, midori, module-init-tools,
openssh, openssl, pciutils, php, qt, sqlite, sysstat, webkit, mtd-utils, openssh, openssl, pciutils, php, qt, sqlite,
zlib sysstat, webkit, zlib
Issues resolved (http://bugs.uclibc.org): Issues resolved (http://bugs.uclibc.org):

View File

@ -1,10 +1,10 @@
config BR2_PACKAGE_DIALOG config BR2_PACKAGE_DIALOG
bool "dialog" bool "dialog"
select BR2_PACKAGE_NCURSES select BR2_PACKAGE_NCURSES
help select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
dialog - display dialog boxes from shell scripts help
dialog - display dialog boxes from shell scripts
This application provides a method of displaying several different
types of dialog boxes from shell scripts. This allows a developer
of a script to interact with the user in a much friendlier manner.
This application provides a method of displaying several different
types of dialog boxes from shell scripts. This allows a developer
of a script to interact with the user in a much friendlier manner.

View File

@ -7,8 +7,13 @@ DIALOG_VERSION:=1.1-20100428
DIALOG_SOURCE:=dialog-$(DIALOG_VERSION).tgz DIALOG_SOURCE:=dialog-$(DIALOG_VERSION).tgz
DIALOG_SITE:=ftp://invisible-island.net/dialog DIALOG_SITE:=ftp://invisible-island.net/dialog
DIALOG_CONF_OPT = --with-ncurses DIALOG_CONF_OPT = --with-ncurses
DIALOG_CONF_ENV = ac_cv_path_NCURSES_CONFIG=true LIBS=-lncurses
DIALOG_DEPENDENCIES = ncurses DIALOG_DEPENDENCIES = ncurses
ifneq ($(BR2_ENABLE_LOCALE),y)
DIALOG_DEPENDENCIES+=libiconv
endif
define DIALOG_INSTALL_TARGET_CMDS define DIALOG_INSTALL_TARGET_CMDS
install -c $(@D)/dialog $(TARGET_DIR)/usr/bin/dialog install -c $(@D)/dialog $(TARGET_DIR)/usr/bin/dialog
endef endef