From: Romain Naour Date: Thu, 27 Mar 2014 23:06:33 +0000 (+0100) Subject: slang: add ncurses optional dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3a7aee7742fbe802f26c9ec341580be16e4d1c25;p=buildroot.git slang: add ncurses optional dependency Ncurses check need to be disabled if ncurses package is not selected. If we don't do that, host's ncurses5-config may be used by configure script. Signed-off-by: Romain Naour Signed-off-by: Peter Korsgaard --- diff --git a/package/slang/slang.mk b/package/slang/slang.mk index c6f0383833..d943de3f50 100644 --- a/package/slang/slang.mk +++ b/package/slang/slang.mk @@ -13,6 +13,12 @@ SLANG_LICENSE_FILES = COPYING SLANG_INSTALL_STAGING = YES SLANG_MAKE = $(MAKE1) +ifeq ($(BR2_PACKAGE_NCURSES),y) + SLANG_DEPENDENCIES = ncurses +else + SLANG_CONF_OPT = ac_cv_path_nc5config=no +endif + # The installation location of the slang library # does not take into account the DESTDIR directory. # So SLANG_INST_LIB is initialized with -L/usr/lib/