ansifilter: extend build to include Darwin
All that was required was to use clang++ instead of g++ when compiling for Darwin.
This commit is contained in:
parent
a8efeed583
commit
56f1949092
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue