summary refs log tree commit diff
path: root/pkgs/tools/networking/ncftp
diff options
context:
space:
mode:
authorMitch Tishmack <mitch.tishmack@gmail.com>2015-11-22 14:16:35 -0600
committerMitch Tishmack <mitch.tishmack@gmail.com>2015-11-22 14:16:35 -0600
commitd66e4c71fc81fa8197133a215b69366d95675981 (patch)
treee316767afac1bb8437b2343435b483ccf0717d77 /pkgs/tools/networking/ncftp
parent071bcf356e22068f75eb01b5458153f97407760a (diff)
downloadnixpkgs-d66e4c71fc81fa8197133a215b69366d95675981.tar
nixpkgs-d66e4c71fc81fa8197133a215b69366d95675981.tar.gz
nixpkgs-d66e4c71fc81fa8197133a215b69366d95675981.tar.bz2
nixpkgs-d66e4c71fc81fa8197133a215b69366d95675981.tar.lz
nixpkgs-d66e4c71fc81fa8197133a215b69366d95675981.tar.xz
nixpkgs-d66e4c71fc81fa8197133a215b69366d95675981.tar.zst
nixpkgs-d66e4c71fc81fa8197133a215b69366d95675981.zip
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.
Diffstat (limited to 'pkgs/tools/networking/ncftp')
-rw-r--r--pkgs/tools/networking/ncftp/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/tools/networking/ncftp/default.nix b/pkgs/tools/networking/ncftp/default.nix
index 2dcfd09bb77..c83bc61bbcd 100644
--- a/pkgs/tools/networking/ncftp/default.nix
+++ b/pkgs/tools/networking/ncftp/default.nix
@@ -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 ];
   };
 }