While building varnish-3.0.2 I encountered the following error: checking for PCRE... no configure: error: in `/var/tmp/portage/www-servers/varnish-3.0.2/work/varnish-3.0.2_build': configure: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables PCRE_CFLAGS and PCRE_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see <http://pkg-config.freedesktop.org/>. See `config.log' for more details Installing pkgconfig seems to fix it which needs to be added as a DEPEND. Reproducible: Always
Fixed in CVS. It also looks like varnish has some automagic deps that previous maintainers overlooked, but I'll patch that later.