Skip to contentSkip to conversation

samba4: specify ncurses-config

PATCH New Gustavo Zacarias 2 participants 2 messages Mar 6, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 samba4: specify ncurses-config

When ncurses wide is enabled samba doesn't automatically find the appropiate ncurses-config script and finds the host variant (which is non-widec) which leaks improper library directories into the build.

samba4: specify ncurses-config

---
 package/samba4/samba4.mk | 1 +
 1 file changed, 1 insertion(+)
package/samba4/samba4.mk +1 -0
index e4c9ef2..527d584 100644
@@ -64,6 +64,7 @@ SAMBA4_CONF_OPTS += --disable-gnutls
 endif
 
 ifeq ($(BR2_PACKAGE_NCURSES_TARGET_FORM)$(BR2_PACKAGE_NCURSES_TARGET_MENU)$(BR2_PACKAGE_NCURSES_TARGET_PANEL),yyy)
+SAMBA4_CONF_ENV += NCURSES_CONFIG="$(STAGING_DIR)/usr/bin/$(NCURSES_CONFIG_SCRIPTS)"
 SAMBA4_DEPENDENCIES += ncurses
 else
 SAMBA4_CONF_OPTS += --without-regedit
Signature · 1 line
2.0.5
#1 lore raw

PATCH 1/1 samba4: specify ncurses-config

Dear Gustavo Zacarias,

Quoted 5 lines · Gustavo Zacarias

When ncurses wide is enabled samba doesn't automatically find the appropiate ncurses-config script and finds the host variant (which is non-widec) which leaks improper library directories into the build.

samba4: specify ncurses-config

This was probably not intended to be here, so I removed it.

Quoted 1 line

Applied, thanks.

Thomas

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