Skip to content

Commit

Permalink
dev-go/go-licenses: fix VariableScope (EROOT)
Browse files Browse the repository at this point in the history
DEPEND-class variables are satisfied within ESYSROOT.

Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Jun 1, 2021
1 parent 600e7a8 commit 8abaa88
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dev-go/go-licenses/go-licenses-0_pre20200511.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions dev-go/go-licenses/go-licenses-9999.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 8abaa88

Please sign in to comment.