Skip to contentSkip to conversation

dialog: fix build failure

PATCH New Gustavo Zacarias 2 participants 2 messages Jun 14, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dialog: fix build failure

The old ncurses trick is no longer needed for this version, in fact it's harmful. Switch to proper configure options.
Also disable rpath hackery since it's not required and could be problematic. Fixes:
http://autobuild.buildroot.net/results/411/411f6171e972eab4486143dedbfd078136886ab0/

---
 package/dialog/dialog.mk | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
package/dialog/dialog.mk +3 -3
index 6dc9066..fb00c9c 100644
@@ -7,9 +7,9 @@
 DIALOG_VERSION = 1.2-20140219
 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
+DIALOG_CONF_OPT = --with-ncurses --with-curses-dir=$(STAGING_DIR)/usr \
+	--disable-rpath-hack
+DIALOG_DEPENDENCIES = host-pkgconf ncurses
 DIALOG_LICENSE = LGPLv2.1
 DIALOG_LICENSE_FILES = COPYING
 
Signature · 1 line
1.8.5.5
#1 lore raw

PATCH 1/1 dialog: fix build failure

Dear Gustavo Zacarias,

Quoted 10 lines · Gustavo Zacarias

The old ncurses trick is no longer needed for this version, in fact it's harmful. Switch to proper configure options.
Also disable rpath hackery since it's not required and could be problematic. Fixes:
http://autobuild.buildroot.net/results/411/411f6171e972eab4486143dedbfd078136886ab0/

---
 package/dialog/dialog.mk | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Applied, thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com