1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00

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

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;