From 0aee976135481f0681aa876f86537211e45c16cc Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@nbd.name>
Date: Wed, 22 Mar 2017 13:49:05 +0100
Subject: [PATCH] util-linux: unconditionally enable ncursesw support

The build dependency is unconditional, and some components might fail if
ncurses is not available

Signed-off-by: Felix Fietkau <nbd@nbd.name>
---
 package/utils/util-linux/Makefile | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/package/utils/util-linux/Makefile b/package/utils/util-linux/Makefile
index f85f48e756..a3c59c073b 100644
--- a/package/utils/util-linux/Makefile
+++ b/package/utils/util-linux/Makefile
@@ -27,11 +27,6 @@ PKG_LICENSE_FILES:=	COPYING					\
 
 PKG_BUILD_PARALLEL:=0
 
-PKG_CONFIG_DEPENDS:= \
-	CONFIG_PACKAGE_cal \
-	CONFIG_PACKAGE_cfdisk \
-	CONFIG_PACKAGE_setterm
-
 PKG_FIXUP:=autoreconf
 PKG_INSTALL:=1
 
@@ -441,7 +436,7 @@ CONFIGURE_ARGS += \
 	--without-udev		\
 	--without-readline	\
 	--disable-more		\
-	$(if $(CONFIG_PACKAGE_cal)$(CONFIG_PACKAGE_cfdisk)$(CONFIG_PACKAGE_setterm),--with-ncursesw,--without-ncurses)
+	--with-ncursesw
 
 TARGET_CFLAGS += $(FPIC) -std=gnu99
 
-- 
2.30.2