fish wants git for its build

This commit is contained in:
Jacob Heider 2023-01-16 15:43:45 -05:00 committed by Jacob Heider
parent 91915c6e6b
commit ef4cc70a63
2 changed files with 2 additions and 18 deletions

View file

@ -1,12 +0,0 @@
diff --color=auto -ru a/cmake/ConfigureChecks.cmake b/cmake/ConfigureChecks.cmake
--- a/cmake/ConfigureChecks.cmake 2022-12-30 19:37:05
+++ b/cmake/ConfigureChecks.cmake 2022-12-30 19:37:49
@@ -46,7 +46,7 @@
# if not symlinked or passed in as a manual define.
message("Falling back to pkg-config for (n)curses detection")
include(FindPkgConfig)
- pkg_search_module(CURSES REQUIRED ncurses curses)
+ pkg_search_module(CURSES REQUIRED ncursesw ncurses curses)
set(CURSES_CURSES_LIBRARY ${CURSES_LIBRARIES})
set(CURSES_LIBRARY ${CURSES_LIBRARIES})
endif()

View file

@ -15,17 +15,13 @@ build:
tea.xyz/gx/make: '*'
cmake.org: '>=3.5'
freedesktop.org/pkg-config: '*'
gnu.org/patch: '*'
git-scm.org: '*'
script: |
# cmake looks for modules named (ncurses, curses);
# this prepends `ncursesw` to the search set to
# properly locate our package.
patch -p1 <props/ncurses_cmake.diff
echo {{version}} >version
mkdir build
cd build
cmake .. $ARGS
make install