forked from mirrors/nixpkgs
pbzip2: g++ -> c++ to fix on darwin (close #11212)
vcunat made it apply unconditionally, as it works OK on Linux at least. /cc maintainer @viric.
This commit is contained in:
parent
662bbb526c
commit
642ee7a77f
|
@ -12,15 +12,16 @@ stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
buildInputs = [ bzip2 ];
|
||||
installPhase = ''
|
||||
make install PREFIX=$out
|
||||
'';
|
||||
|
||||
preBuild = "substituteInPlace Makefile --replace g++ c++";
|
||||
|
||||
installFlags = "PREFIX=$out";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://compression.ca/pbzip2/;
|
||||
description = "A parallel implementation of bzip2 for multi-core machines";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [viric];
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue