lcov: Fix build on FreeBSD.

svn path=/nixpkgs/trunk/; revision=32746
This commit is contained in:
Ludovic Courtès
2012-03-02 15:57:36 +00:00
parent 000051b196
commit d8849a045e
2 changed files with 15 additions and 2 deletions
@@ -9,8 +9,8 @@ stdenv.mkDerivation rec {
};
patches =
[ ./find-source.patch
];
[ ./find-source.patch ]
++ (stdenv.lib.optional stdenv.isFreeBSD ./freebsd-install.patch);
preBuild = ''
makeFlagsArray=(PREFIX=$out BIN_DIR=$out/bin MAN_DIR=$out/share/man)