FreeBSD support
This commit is contained in:
@@ -58,8 +58,9 @@ in stdenv.mkDerivation {
|
||||
ln -s bzip2 $out/bin/bzcat
|
||||
'';
|
||||
|
||||
patchPhase = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
substituteInPlace Makefile --replace 'CC=gcc' 'CC=clang'
|
||||
patchPhase = ''
|
||||
substituteInPlace Makefile --replace CC=gcc CC=cc
|
||||
substituteInPlace Makefile-libbz2_so --replace CC=gcc CC=cc
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
|
||||
Reference in New Issue
Block a user