diff options
author | John Wiegley <johnw@newartisans.com> | 2015-10-28 15:46:47 -0700 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2015-10-28 15:46:47 -0700 |
commit | ef8c8a3b7c2b565ea53b46f7c6d94eb98684a402 (patch) | |
tree | 63584be1aa1b7385c6ecaa94765bc9653f5b0475 /pkgs/tools/graphics | |
parent | e54c0ddcb0e84beff72e03375bae30d9bd510400 (diff) | |
parent | d8cb19b22e8ead867f968c87aed561181b2caa00 (diff) | |
download | nixlib-ef8c8a3b7c2b565ea53b46f7c6d94eb98684a402.tar nixlib-ef8c8a3b7c2b565ea53b46f7c6d94eb98684a402.tar.gz nixlib-ef8c8a3b7c2b565ea53b46f7c6d94eb98684a402.tar.bz2 nixlib-ef8c8a3b7c2b565ea53b46f7c6d94eb98684a402.tar.lz nixlib-ef8c8a3b7c2b565ea53b46f7c6d94eb98684a402.tar.xz nixlib-ef8c8a3b7c2b565ea53b46f7c6d94eb98684a402.tar.zst nixlib-ef8c8a3b7c2b565ea53b46f7c6d94eb98684a402.zip |
Merge pull request #10568 from datakurre/datakurre-graphviz
darwin: graphviz: remove -lstdc++ on darwin
Diffstat (limited to 'pkgs/tools/graphics')
-rw-r--r-- | pkgs/tools/graphics/graphviz/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/graphviz/default.nix b/pkgs/tools/graphics/graphviz/default.nix index fbf1c114d0a6..f9fbf1f88ea7 100644 --- a/pkgs/tools/graphics/graphviz/default.nix +++ b/pkgs/tools/graphics/graphviz/default.nix @@ -38,6 +38,13 @@ stdenv.mkDerivation rec { ] ++ stdenv.lib.optional (xorg == null) "--without-x"; + prePatch = stdenv.lib.optionalString stdenv.isDarwin '' + substituteInPlace cmd/dot/Makefile.in --replace "-lstdc++" "" + substituteInPlace cmd/edgepaint/Makefile.in --replace "-lstdc++" "" + substituteInPlace cmd/mingle/Makefile.in --replace "-lstdc++" "" + substituteInPlace plugin/gdiplus/Makefile.in --replace "-lstdc++" "" + ''; + preBuild = '' sed -e 's@am__append_5 *=.*@am_append_5 =@' -i lib/gvc/Makefile ''; |