When trying to setup chrooted directory for dhcpd with: emerge --config dhcp get: * pkg_config() is not defined: 'dhcp-4.2.2-r2.ebuild' Reproducible: Always Steps to Reproduce: 1.emerge --config dhcp Actual Results: * pkg_config() is not defined: 'dhcp-4.2.2-r2.ebuild' Solution: Copy from dhcp-4.2.2-r1.ebuild to dhcp-4.2.2-r2.ebuild section: pkg_config() { ... } ebuild dhcp-4.2.2-r2.ebuild digest remerge dhcp
it is no longer needed. the init.d script sets up the chroot for you on the fly.