Merge pull request #91532 from shajra/fix/ansifilter

ansifilter: extend build to include Darwin
This commit is contained in:
Daiderd Jordan 2020-07-01 21:21:11 +02:00 committed by GitHub
commit 730f86b722
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,6 +12,10 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ boost lua ];
postPatch = ''
substituteInPlace src/makefile --replace "CC=g++" "CC=c++"
'';
makeFlags = [
"PREFIX=${placeholder "out"}"
"conf_dir=/etc/ansifilter"
@ -26,6 +30,6 @@ stdenv.mkDerivation rec {
homepage = "http://www.andre-simon.de/doku/ansifilter/en/ansifilter.php";
license = licenses.gpl3;
maintainers = [ maintainers.Adjective-Object ];
platforms = platforms.linux;
platforms = platforms.linux ++ platforms.darwin;
};
}