mxcl/homebrew — Issue #9138: cairo doesn't tell pkg-config it's installed
Author: rwst
Created: 2011-12-16 10:01:39+00:00
State: open

After installing cairo-1.10.2, building pycairo (not in brew) shows pkg-config
(its path /usr/local/lib/pkgconfig) not knowing about that install, and in the path
are no cairo*pc files. However,

$ brew ls cairo
/usr/local/Cellar/cairo/1.10.2/bin/cairo-trace
/usr/local/Cellar/cairo/1.10.2/include/cairo/ (12 files)
/usr/local/Cellar/cairo/1.10.2/lib/libcairo-script-interpreter.2.dylib
/usr/local/Cellar/cairo/1.10.2/lib/libcairo.2.dylib
/usr/local/Cellar/cairo/1.10.2/lib/cairo/ (3 files)
/usr/local/Cellar/cairo/1.10.2/lib/pkgconfig/ (11 files)
/usr/local/Cellar/cairo/1.10.2/lib/ (4 other files)
/usr/local/Cellar/cairo/1.10.2/share/gtk-doc/ (57 files)

Easily resolved manually by copying them 11 files into /usr/local/lib/pkgconfig
BUT you want that done in the cairo brew, which I have no idea how's it done best.