Merge pull request #833 from lovek323/p7zip

p7zip: fix build on darwin
This commit is contained in:
Evgeny Egorochkin 2013-08-14 21:22:08 -07:00
commit 857cfb4c03

View File

@ -8,10 +8,11 @@ stdenv.mkDerivation rec {
sha256 = "10j7rc1nzdp7vvcpc3340yi3qw7abby4szv8zkwh10d0zizpwma9";
};
preConfigure =
''
preConfigure = ''
makeFlagsArray=(DEST_HOME=$out)
buildFlags=all3
'' + stdenv.lib.optionalString stdenv.isDarwin ''
cp makefile.macosx_64bits makefile.machine
'';
enableParallelBuilding = true;