MC will link against ncursesw instead of ncurses if it finds it. Make sure
it always links only against ncurses.

Closes #9225 and #9315.

Signed-off-by: Jonas Gorski <jonas.gorski+open...@gmail.com>
---
V1 -> V2:
 * Also increase PKG_RELEASE

 utils/mc/Makefile |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/utils/mc/Makefile b/utils/mc/Makefile
index 42b2e17..974f2da 100644
--- a/utils/mc/Makefile
+++ b/utils/mc/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=mc
 PKG_VERSION:=4.7.5.2
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.midnight-commander.org/downloads/
@@ -45,7 +45,8 @@ CONFIGURE_ARGS += \
        --without-edit \
        --without-gpm-mouse \
        --without-subshell \
-       --without-x
+       --without-x \
+       ac_cv_search_addwstr=no
 
 AM_HOST=$(firstword $(wildcard $(STAGING_DIR_HOST)/share/automake-*))
 
-- 
1.7.2.5

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to