From 528b11ea3d87e64313645fd8820817314682ca28 Mon Sep 17 00:00:00 2001 From: Lucio Andrés Illanes Albornoz Date: Oct 11 2019 18:02:01 +0000 Subject: vars/cmake.vars:pkg_cmake_host_configure(): explicitly specify -DCURSES_NCURSES_LIBRARY. --- diff --git a/vars/cmake.vars b/vars/cmake.vars index ae269b2..bf21197 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; };