commit: f9a0ee0f2c2b562b08749cf30d70ffd6858167fd Author: Florian Schmaus <flow <AT> gentoo <DOT> org> AuthorDate: Sun Jan 12 13:28:39 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Jun 22 10:02:20 2025 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=f9a0ee0f
phase-functions: Do not explicitly export S and D This was added in 2002 with 6a6ec1eea155c (portage-cvs.git) and is currently a no-op, since in all currently used EAPIs portage does already export S and D when invoking ebuild.sh. Exporting S and D is also diametral to the current push to no longer export PMS variables (bug #721088). Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> Part-of: https://github.com/gentoo/portage/pull/1419 Closes: https://github.com/gentoo/portage/pull/1419 Signed-off-by: Sam James <sam <AT> gentoo.org> bin/phase-functions.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bin/phase-functions.sh b/bin/phase-functions.sh index 9f6662ead4..abe7162560 100644 --- a/bin/phase-functions.sh +++ b/bin/phase-functions.sh @@ -604,10 +604,6 @@ __dyn_install() { __vecho __vecho ">>> Install ${CATEGORY}/${PF} into ${D}" - # Our custom version of libtool uses ${S} and ${D} to fix - # invalid paths in .la files - export S D - # Reset exeinto(), docinto(), insinto(), and into() state variables # in case the user is running the install phase multiple times # consecutively via the ebuild command.
