ncurses include path

This commit is contained in:
Jacob Heider 2022-12-05 16:37:45 -04:00 committed by Max Howell
parent ab21cd2309
commit 00c76de9f1

View file

@ -5,12 +5,14 @@ distributable:
versions: versions:
github: pixel/hexedit/tags github: pixel/hexedit/tags
dependencies:
invisible-island.net/ncurses: 6
build: build:
dependencies: dependencies:
tea.xyz/gx/cc: c99 tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*' tea.xyz/gx/make: '*'
gnu.org/autoconf: '*' gnu.org/autoconf: '*'
invisible-island.net/ncurses: 6
script: | script: |
./autogen.sh ./autogen.sh
@ -21,10 +23,14 @@ build:
./configure --prefix={{prefix}} ./configure --prefix={{prefix}}
make make
make install make install
env:
# needed to `include <curses.h>;`
CPATH: $CPATH:{{deps.invisible-island.net/ncurses.prefix}}/include/ncursesw
test: test:
script: | true
hexedit -h # FIXME: curses tool, no --version, --help is exit code 1
# hexedit -h
provides: provides:
- bin/hexedit - bin/hexedit