Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] samba4: specify ncurses-config
@ 2015-03-06 10:42 Gustavo Zacarias
  2015-03-06 11:55 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Gustavo Zacarias @ 2015-03-06 10:42 UTC (permalink / raw)
  To: buildroot

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
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/samba4/samba4.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/samba4/samba4.mk b/package/samba4/samba4.mk
index e4c9ef2..527d584 100644
--- a/package/samba4/samba4.mk
+++ b/package/samba4/samba4.mk
@@ -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
-- 
2.0.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] samba4: specify ncurses-config
  2015-03-06 10:42 [Buildroot] [PATCH] samba4: specify ncurses-config Gustavo Zacarias
@ 2015-03-06 11:55 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2015-03-06 11:55 UTC (permalink / raw)
  To: buildroot

Dear Gustavo Zacarias,

On Fri,  6 Mar 2015 07:42:48 -0300, Gustavo Zacarias wrote:
> 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.

> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

Applied, thanks.

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-06 11:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-06 10:42 [Buildroot] [PATCH] samba4: specify ncurses-config Gustavo Zacarias
2015-03-06 11:55 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox