3
0
Fork 0
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:
Mitch Tishmack 2015-11-22 14:12:52 -06:00 committed by Vladimír Čunát
parent 662bbb526c
commit 642ee7a77f

View file

@ -1,4 +1,4 @@
{stdenv, fetchurl, bzip2}:
{ stdenv, fetchurl, bzip2 }:
let major = "1.1";
version = "${major}.9";
@ -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;
};
}