mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 19:02:57 +00:00
netbsd.terminfo: break libcurses dep cycle with simple decl of use_env
This commit is contained in:
parent
8517039fb9
commit
d08ff06d0a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user