From cbe8eb5f36a1bf95f6c02d0b995706da6c1ac3c9 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Sun, 22 Dec 2013 02:35:17 +0100 Subject: [PATCH] htop: fixed to disable unicode support if NLS is disabled Note: If NLS is disabled for the target our ncurses package is not building the widec variant which is needed for unicode support. --- base/htop/htop.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/base/htop/htop.conf b/base/htop/htop.conf index f824ef2ca..3e926b699 100644 --- a/base/htop/htop.conf +++ b/base/htop/htop.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../htop/htop.conf -# Copyright (C) 2007 - 2008 The OpenSDE Project +# Copyright (C) 2007 - 2013 The OpenSDE Project # # More information can be found in the files COPYING and README. # @@ -18,3 +18,7 @@ if atstage cross; then fi var_append GCC_WRAPPER_APPEND ' ' '-ldl' + +if [ "$SDECFG_DISABLE_NLS" = 1 ]; then + var_append extraconfopt ' ' "--disable-unicode" +fi