1 |
commit: b6e19b768f98d7ae2f05a0e32a99a69935e8310c |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 1 05:24:01 2021 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 1 05:49:17 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6e19b76 |
7 |
|
8 |
net-vpn/i2pd: respect variable scope |
9 |
|
10 |
Reading ${S} in global scope is /technically/ |
11 |
undefined behavior per PMS. |
12 |
|
13 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
14 |
|
15 |
net-vpn/i2pd/i2pd-2.40.0.ebuild | 4 ++-- |
16 |
1 file changed, 2 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/net-vpn/i2pd/i2pd-2.40.0.ebuild b/net-vpn/i2pd/i2pd-2.40.0.ebuild |
19 |
index 508b3c4ca5e7..106e5d800df4 100644 |
20 |
--- a/net-vpn/i2pd/i2pd-2.40.0.ebuild |
21 |
+++ b/net-vpn/i2pd/i2pd-2.40.0.ebuild |
22 |
@@ -23,9 +23,9 @@ RDEPEND=" |
23 |
upnp? ( net-libs/miniupnpc:= )" |
24 |
DEPEND="${RDEPEND}" |
25 |
|
26 |
-CMAKE_USE_DIR="${S}/build" |
27 |
+CMAKE_USE_DIR="${WORKDIR}/${P}/build" |
28 |
|
29 |
-DOCS=( "${S}/README.md" "${S}/contrib/i2pd.conf" "${S}/contrib/tunnels.conf" ) |
30 |
+DOCS=( ../README.md ../contrib/i2pd.conf ../contrib/tunnels.conf ) |
31 |
|
32 |
pkg_pretend() { |
33 |
if use i2p-hardening && ! tc-is-gcc; then |