Fix graphviz building on darwin

This commit is contained in:
Sander van der Burg 2013-06-18 12:24:40 +02:00
parent 23f43527e1
commit 37b25a712e

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, libpng, libjpeg, expat, libXaw
, yacc, libtool, fontconfig, pango, gd, xlibs, gts, gettext
, yacc, libtool, fontconfig, pango, gd, xlibs, gts, gettext, cairo
}:
stdenv.mkDerivation rec {
@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
patches = [ ./fix-broken-memcp-signature.patch ];
CPPFLAGS = stdenv.lib.optionalString (stdenv.system == "x86_64-darwin") "-I${cairo}/include/cairo";
configureFlags =
[ "--with-pngincludedir=${libpng}/include"
"--with-pnglibdir=${libpng}/lib"