ncurses: split into multiple outputs
Some programs (e.g. tput) might better be moved somewhere else than $dev/bin, but that can be improved later if need be.
This commit is contained in:
@@ -9,9 +9,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
# Fix some wrong hardcoded paths
|
||||
preConfigure = ''
|
||||
sed -i -e "s|/usr/lib/terminfo|${ncurses}/lib/terminfo|" configure
|
||||
sed -i -e "s|/usr/lib/terminfo|${ncurses}/lib/terminfo|" src/sltermin.c
|
||||
sed -i -e "s|/usr/lib/terminfo|${ncurses.out}/lib/terminfo|" configure
|
||||
sed -i -e "s|/usr/lib/terminfo|${ncurses.out}/lib/terminfo|" src/sltermin.c
|
||||
sed -i -e "s|/bin/ln|ln|" src/Makefile.in
|
||||
sed -i -e "s|-ltermcap|-lncurses|" ./configure
|
||||
'';
|
||||
configureFlags = "--with-png=${libpng} --with-z=${zlib} --with-pcre=${pcre} --with-readline=${readline}";
|
||||
buildInputs = [ncurses pcre libpng zlib readline];
|
||||
|
||||
Reference in New Issue
Block a user