From 528b11ea3d87e64313645fd8820817314682ca28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Fri, 11 Oct 2019 18:02:01 +0000 Subject: vars/cmake.vars:pkg_cmake_host_configure(): explicitly specify -DCURSES_NCURSES_LIBRARY. --- vars/cmake.vars | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'vars') diff --git a/vars/cmake.vars b/vars/cmake.vars index ae269b2b..bf211972 100644 --- a/vars/cmake.vars +++ b/vars/cmake.vars @@ -48,6 +48,12 @@ pkg_cmake_install_make_pre() { fi; }; +pkg_cmake_host_configure() { + rm -f config.cache; + cmake -DCURSES_NCURSES_LIBRARY="${PKG_PREFIX}/lib/libncurses.so" \ + "../cmake-${PKG_VERSION}"; +}; + pkg_cmake_host_install_make_pre() { pkg_cmake_install_make_pre; }; -- cgit v1.2.3