Ncftp manpage /usr/local workaround

ncftp appears to not properly honor PREFIX in its manpage target and
tries to install them to /usr/local

Work around this by adding --mandir to its configure flags.

+3 -1
+3 -1
pkgs/tools/networking/ncftp/default.nix
··· 23 sed 's@/bin/rm@${coreutils}/bin/rm@g' -i configure 24 ''; 25 26 meta = with stdenv.lib; { 27 description = "Command line FTP (File Transfer Protocol) client"; 28 homepage = http://www.ncftp.com/ncftp/; 29 - platforms = platforms.linux; 30 maintainers = [ maintainers.bjornfor ]; 31 }; 32 }
··· 23 sed 's@/bin/rm@${coreutils}/bin/rm@g' -i configure 24 ''; 25 26 + configureFlags = [ "--mandir=$out/share/man/" ]; 27 + 28 meta = with stdenv.lib; { 29 description = "Command line FTP (File Transfer Protocol) client"; 30 homepage = http://www.ncftp.com/ncftp/; 31 + platforms = platforms.unix; 32 maintainers = [ maintainers.bjornfor ]; 33 }; 34 }