unbound's configure scripts needs two more options in order to find the openssl and libexpat installation within the prefix: --with-ssl="${EPREFIX}"/usr --with-libexpat="${EPREFIX}"/usr See attached diff. Reproducible: Always
Created attachment 370296 [details, diff] Patch against unbound-1.4.21-r1.ebuild
Created attachment 370298 [details, diff] Patch against unbound-1.4.21-r1.ebuild
Thanks, patch applied!