Commit fbdeb356 authored by Kwabena AB's avatar Kwabena AB

Add /ncurses to include path

parent 6fadb84f
......@@ -4,8 +4,6 @@ extends =
parts =
ncurses
setenv CPPFLAGS "-I/usr/local/include/ncurses"
[ncurses]
recipe = slapos.recipe.cmmi
shared = true
......@@ -30,7 +28,7 @@ configure-options =
--with-build-ldflags="-L/usr/local/lib"
# tricky way to rerun with --enable-widec
make-targets =
install && (for i in curses unctrl eti form menu panel term; do ln -sf ncurses/$i.h @@LOCATION@@/include/$i.h; done; ln -sf libncurses.so @@LOCATION@@/lib/libcurses.so) && ./configure ${:configure-options} --enable-widec && make ${:make-options} && make ${:make-options} install
install && (for i in curses unctrl eti form menu panel term; do ln -sf ncurses/$i.h @@LOCATION@@/include/ncurses/$i.h; done; ln -sf libncurses.so @@LOCATION@@/lib/libcurses.so) && ./configure ${:configure-options} --enable-widec && make ${:make-options} && make ${:make-options} install
# pass dummy LDCONFIG to skip needless calling of ldconfig by non-root user
environment =
LDCONFIG=/bin/echo
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment