From 8abaa886fd31a9b09029f20fdeb45ad9137af138 Mon Sep 17 00:00:00 2001 From: Sam James Date: Tue, 1 Jun 2021 00:39:25 +0000 Subject: dev-go/go-licenses: fix VariableScope (EROOT) DEPEND-class variables are satisfied within ESYSROOT. Signed-off-by: Sam James --- dev-go/go-licenses/go-licenses-0_pre20200511.ebuild | 4 ++-- dev-go/go-licenses/go-licenses-9999.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'dev-go/go-licenses') diff --git a/dev-go/go-licenses/go-licenses-0_pre20200511.ebuild b/dev-go/go-licenses/go-licenses-0_pre20200511.ebuild index 9dadfccb67c9..7375f5873fe3 100644 --- a/dev-go/go-licenses/go-licenses-0_pre20200511.ebuild +++ b/dev-go/go-licenses/go-licenses-0_pre20200511.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -172,7 +172,7 @@ RESTRICT="test" src_prepare() { eapply_user - local share="${EROOT}/usr/share/licenseclassifier" + local share="${ESYSROOT}/usr/share/licenseclassifier" local vendored_const_path="vendor/github.com/google/licenseclassifier" go mod vendor || die diff --git a/dev-go/go-licenses/go-licenses-9999.ebuild b/dev-go/go-licenses/go-licenses-9999.ebuild index 9dadfccb67c9..7375f5873fe3 100644 --- a/dev-go/go-licenses/go-licenses-9999.ebuild +++ b/dev-go/go-licenses/go-licenses-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -172,7 +172,7 @@ RESTRICT="test" src_prepare() { eapply_user - local share="${EROOT}/usr/share/licenseclassifier" + local share="${ESYSROOT}/usr/share/licenseclassifier" local vendored_const_path="vendor/github.com/google/licenseclassifier" go mod vendor || die -- cgit v1.2.3-65-gdbad