mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
fish wants git for its build
This commit is contained in:
parent
91915c6e6b
commit
ef4cc70a63
|
@ -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()
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue