Created attachment 320536 [details] Patch for ngrep-1.45-r3.ebuild to DEPEND on >=net-libs/libpcap-1.1.1-r1 (3 years old) libpcap-0.9.8-r2 provides /usr/include/pcap.h ngrep-1.45-r3.ebuild runs econf --with-pcap-includes="${EPREFIX}"/usr/include/pcap As a result, ngrep configure can't find the header: ... checking for a complete set of pcap headers... no !!! couldn't find a complete set of pcap headers The very old version of libpcap is no longer in portage. First emerging the oldest libpcap currently in portage makes ngrep-1.45-r3 build just fine. I suggest changing from unversioned to DEPEND=">=net-libs/libpcap-1.1.1-r1". Patch attached.
See also bug 247128
Not three years old. Five. *libpcap-0.9.8 (09 Oct 2007) 09 Oct 2007; Markus Ullmann <jokey@gentoo.org> -libpcap-0.9.4.ebuild, +libpcap-0.9.8.ebuild: Version bump wrt bug #194890 We really shouldn't need to go through the whole tree and support systems that haven't been upgraded in ages. We have enough on our hands supporting older packages against newer dependencies.