- Rex Fernando
- 2011-03-04 @ 01:19
I have a question about how homebrew is organized. If I for instance want
to make an autoconf and automake package, they get installed in the Cellar
directories and their relevant resources get linked to from /usr/local/*.
So automake's aclocal directory will end up in
/usr/local/Cellar/automake/<version>/share/aclocal and will have a symlink
in /usr/local/share/aclocal. But what happens when I try to install
pkg-config? As far as I can tell, its aclocal directory will get put in
/usr/local/Cellar/pkg-config/<version>/share/aclocal, and homebrew will
try to symlink to it in /usr/local/share. Unless I'm missing something,
this won't work because automake will look for macro definition files in
/usr/local/Cellar/automake/<version>/share/aclocal, and pkg-config's
macros won't be there. I'm sure I must be getting something wrong; could
somebody clear this up for me?