commit:     b6e19b768f98d7ae2f05a0e32a99a69935e8310c
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Dec  1 05:24:01 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Dec  1 05:49:17 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6e19b76

net-vpn/i2pd: respect variable scope

Reading ${S} in global scope is /technically/
undefined behavior per PMS.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 net-vpn/i2pd/i2pd-2.40.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-vpn/i2pd/i2pd-2.40.0.ebuild b/net-vpn/i2pd/i2pd-2.40.0.ebuild
index 508b3c4ca5e7..106e5d800df4 100644
--- a/net-vpn/i2pd/i2pd-2.40.0.ebuild
+++ b/net-vpn/i2pd/i2pd-2.40.0.ebuild
@@ -23,9 +23,9 @@ RDEPEND="
        upnp? ( net-libs/miniupnpc:= )"
 DEPEND="${RDEPEND}"
 
-CMAKE_USE_DIR="${S}/build"
+CMAKE_USE_DIR="${WORKDIR}/${P}/build"
 
-DOCS=( "${S}/README.md" "${S}/contrib/i2pd.conf" "${S}/contrib/tunnels.conf" )
+DOCS=( ../README.md ../contrib/i2pd.conf ../contrib/tunnels.conf )
 
 pkg_pretend() {
        if use i2p-hardening && ! tc-is-gcc; then

Reply via email to