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.
This commit is contained in:
Mitch Tishmack 2015-11-22 14:16:35 -06:00
parent 071bcf356e
commit d66e4c71fc

View file

@ -23,10 +23,12 @@ stdenv.mkDerivation {
sed 's@/bin/rm@${coreutils}/bin/rm@g' -i configure
'';
configureFlags = [ "--mandir=$out/share/man/" ];
meta = with stdenv.lib; {
description = "Command line FTP (File Transfer Protocol) client";
homepage = http://www.ncftp.com/ncftp/;
platforms = platforms.linux;
platforms = platforms.unix;
maintainers = [ maintainers.bjornfor ];
};
}