I have emerge dhcpcd but this ebuild does not install /etc/dhcpd config directory. gentoonet root # qpkg -l dhcpcd net-misc/dhcpcd-1.3.22_p4-r5 * CONTENTS: /etc /usr /usr/share /usr/share/doc /usr/share/doc/dhcpcd-1.3.22_p4-r5 /usr/share/doc/dhcpcd-1.3.22_p4-r5/README.gz /usr/share/doc/dhcpcd-1.3.22_p4-r5/NEWS.gz /usr/share/doc/dhcpcd-1.3.22_p4-r5/AUTHORS.gz /usr/share/doc/dhcpcd-1.3.22_p4-r5/ChangeLog.gz /usr/share/man /usr/share/man/man8 /usr/share/man/man8/dhcpcd.8.gz /sbin /sbin/dhcpcd /etc is created but not /etc/dhcpc Reproducible: Always Steps to Reproduce: 1. 2. 3.
try with `emerge --noconfmem`
Sorry. In ebuild : src_compile() { use static && append-flags -static ./configure \ --prefix="" \ --sysconfdir=/var/lib \ <------------------ OK --mandir=/usr/share/man || die emake || die } I suggest to create on ebuild a dir /var/lib/dhcpd/.keep for conf directory.
And change this : src_install() { einstall sbindir=${D}/sbin || die "Install failed" rmdir ${D}/etc/dhcpc <--------------- change in rm -rf ${D}/etc if ! use build then dodoc AUTHORS ChangeLog NEWS README else rm -rf ${D}/usr/share fi }
doesn't sound like a portage bug and I don't know if it is a bug at all.
the directory is empty, no point in installing it i switched the ./configure to use `econf` instead