summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2021-12-01 00:24:01 -0500
committerIonen Wolkens <ionen@gentoo.org>2021-12-01 00:49:17 -0500
commitb6e19b768f98d7ae2f05a0e32a99a69935e8310c (patch)
treee3201ddb13e5d863b17a34c1e7f5ee30499c3061 /net-vpn
parentnet-vpn/i2pd: remove old (diff)
downloadgentoo-b6e19b768f98d7ae2f05a0e32a99a69935e8310c.tar.gz
gentoo-b6e19b768f98d7ae2f05a0e32a99a69935e8310c.tar.bz2
gentoo-b6e19b768f98d7ae2f05a0e32a99a69935e8310c.zip
net-vpn/i2pd: respect variable scope
Reading ${S} in global scope is /technically/ undefined behavior per PMS. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'net-vpn')
-rw-r--r--net-vpn/i2pd/i2pd-2.40.0.ebuild4
1 files 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