summaryrefslogtreecommitdiff
path: root/dev-go
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-06-01 00:39:25 +0000
committerSam James <sam@gentoo.org>2021-06-01 00:39:37 +0000
commit8abaa886fd31a9b09029f20fdeb45ad9137af138 (patch)
tree9e92edb529e944d168d93dee593940d58e54a54d /dev-go
parentapp-text/trang: fix VariableScope (EROOT) (diff)
downloadgentoo-8abaa886fd31a9b09029f20fdeb45ad9137af138.tar.gz
gentoo-8abaa886fd31a9b09029f20fdeb45ad9137af138.tar.bz2
gentoo-8abaa886fd31a9b09029f20fdeb45ad9137af138.zip
dev-go/go-licenses: fix VariableScope (EROOT)
DEPEND-class variables are satisfied within ESYSROOT. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-go')
-rw-r--r--dev-go/go-licenses/go-licenses-0_pre20200511.ebuild4
-rw-r--r--dev-go/go-licenses/go-licenses-9999.ebuild4
2 files changed, 4 insertions, 4 deletions
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