forked from mirrors/nixpkgs
Cairo: Arrange so that Freetype `-I' flags are propagated.
svn path=/nixpkgs/trunk/; revision=13843
This commit is contained in:
parent
c1b9946c28
commit
e8847fd2e7
|
@ -28,6 +28,13 @@ stdenv.mkDerivation rec {
|
|||
configureFlags =
|
||||
(if pdfSupport then ["--enable-pdf"] else []);
|
||||
|
||||
preConfigure = ''
|
||||
# Work around broken `Requires.private' that prevents Freetype
|
||||
# `-I' flags to be propagated.
|
||||
sed -i "src/cairo.pc.in" \
|
||||
-es'|^Cflags:\(.*\)$|Cflags: \1 -I${freetype}/include/freetype2 -I${freetype}/include|g'
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A 2D graphics library with support for multiple output devices";
|
||||
|
||||
|
|
Loading…
Reference in a new issue