netbsd.libcurses: fix build
This commit is contained in:
parent
cf324a7f11
commit
f27de651fd
|
@ -621,6 +621,7 @@ in lib.makeScopeWithSplicing
|
|||
] ++ lib.optional stdenv.isDarwin "-D__strong_alias(a,b)=";
|
||||
propagatedBuildInputs = with self; compatIfNeeded;
|
||||
MKDOC = "no"; # missing vfontedpr
|
||||
makeFlags = [ "LIBDO.terminfo=${self.libterminfo}/lib" ];
|
||||
postPatch = lib.optionalString (!stdenv.isDarwin) ''
|
||||
substituteInPlace printw.c \
|
||||
--replace "funopen(win, NULL, __winwrite, NULL, NULL)" NULL \
|
||||
|
|
Loading…
Reference in a new issue