This fixed it for me: diff --git a/www-servers/nginx/nginx-1.8.1.ebuild b/www-servers/nginx/nginx-1.8.1.ebuild index e75a805..5bb4978 100644 --- a/www-servers/nginx/nginx-1.8.1.ebuild +++ b/www-servers/nginx/nginx-1.8.1.ebuild @@ -276,7 +276,7 @@ src_prepare() { epatch "${FILESDIR}/${PN}-1.4.1-fix-perl-install-path.patch" if use nginx_modules_http_upstream_check; then - epatch "${FILESDIR}"/check_1.7.2+.patch + epatch "${HTTP_UPSTREAM_CHECK_MODULE_WD}"/check_1.7.2+.patch fi if use nginx_modules_http_lua; then
Fixed: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85509ccf9222c448b6c6986b6b3efe18e3cba6cc