pkgs/tools/compression/bzip2: move --mandir into standard location $out/share/man

svn path=/nixpkgs/branches/stdenv-updates/; revision=25007
This commit is contained in:
Peter Simons 2010-12-06 17:48:52 +00:00
parent 475cbea101
commit b2ae5a5ba9
1 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,8 @@ stdenv.mkDerivation {
sharedLibrary =
!stdenv.isDarwin && !(stdenv ? isDietLibC) && !(stdenv ? isStatic) && stdenv.system != "i686-cygwin" && !linkStatic;
preConfigure = "substituteInPlace Makefile --replace '$(PREFIX)/man' '$(PREFIX)/share/man'";
makeFlags = if linkStatic then "LDFLAGS=-static" else "";
inherit linkStatic;