Merge pull request #10568 from datakurre/datakurre-graphviz

darwin: graphviz: remove -lstdc++ on darwin
This commit is contained in:
John Wiegley 2015-10-28 15:46:47 -07:00
commit ef8c8a3b7c

View File

@ -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
'';