commit: 9d1d618bb5486786e951882d07e31515279ce277
Author: Zurab Kvachadze <zurabid2016 <AT> gmail <DOT> com>
AuthorDate: Sun Feb 8 19:01:55 2026 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 20 19:09:33 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d1d618b
nginx.eclass: Use DESTDIR="${D}" instead of ${ED} in src_install()
All the other paths include ${EPREFIX} so setting DESTDIR to ${ED}
doubles ${EPREFIX}, leading to bug 969036.
This commit sets DESTDIR="${D}" as it should have been from the
start[1].
[1]:
https://wiki.gentoo.org/wiki/Project:Prefix/Technical_Documentation#The_variables_ED_and_EROOT
Closes: https://bugs.gentoo.org/969036
Signed-off-by: Zurab Kvachadze <zurabid2016 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
eclass/nginx.eclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eclass/nginx.eclass b/eclass/nginx.eclass
index d52d9df7b085..a67da18edef8 100644
--- a/eclass/nginx.eclass
+++ b/eclass/nginx.eclass
@@ -762,7 +762,7 @@ nginx_src_test() {
# and NGINX headers into '/usr/include/nginx'.
nginx_src_install() {
debug-print-function "${FUNCNAME[0]}" "$@"
- emake DESTDIR="${ED}" install
+ emake DESTDIR="${D}" install
keepdir "/usr/$(get_libdir)/nginx/modules"
keepdir /var/log/nginx