darwin: graphviz: remove -lstdc++ on darwin

This commit is contained in:
Asko Soukka 2015-06-30 11:24:05 +03:00
parent 4f07c88d46
commit d8cb19b22e

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