kermit: fix build

... by explicitly selecting the Linux code paths in the source.
This commit is contained in:
Julian Stecklina 2020-12-26 20:37:04 +01:00
parent b2cdea8441
commit 7bd7b5bea9

View File

@ -21,7 +21,7 @@ stdenv.mkDerivation {
-e 's@/usr/local@'"$out"@ makefile
'';
buildPhase = "make -f makefile linux LNKFLAGS='-lcrypt -lresolv'";
buildPhase = "make -f makefile linux KFLAGS='-D_IO_file_flags' LNKFLAGS='-lcrypt -lresolv'";
installPhase = ''
mkdir -p $out/bin
@ -35,6 +35,5 @@ stdenv.mkDerivation {
license = licenses.bsd3;
maintainers = with maintainers; [ pSub ];
platforms = with platforms; linux;
broken = true;
};
}