1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

netbsd.terminfo: break libcurses dep cycle with simple decl of use_env

This commit is contained in:
Will Dietz 2018-09-20 22:56:45 -05:00
parent 8517039fb9
commit d08ff06d0a

View file

@ -542,6 +542,8 @@ in rec {
makeFlags = [ "INCSDIR=/include" ];
postPatch = ''
substituteInPlace term.c --replace /usr/share $out/share
substituteInPlace setupterm.c --replace '#include <curses.h>' 'void use_env(bool);'
'';
postInstall = ''
(cd $NETBSDSRCDIR/share/terminfo && make && make BINDIR=/share install)