From b6e19b768f98d7ae2f05a0e32a99a69935e8310c Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Wed, 1 Dec 2021 00:24:01 -0500 Subject: net-vpn/i2pd: respect variable scope Reading ${S} in global scope is /technically/ undefined behavior per PMS. Signed-off-by: Ionen Wolkens --- net-vpn/i2pd/i2pd-2.40.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'net-vpn') 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 -- cgit v1.2.3-65-gdbad