summaryrefslogtreecommitdiff
path: root/dev-go
diff options
context:
space:
mode:
Diffstat (limited to 'dev-go')
-rw-r--r--dev-go/licenseclassifier/licenseclassifier-0_pre20200402.ebuild4
-rw-r--r--dev-go/licenseclassifier/licenseclassifier-9999.ebuild4
2 files changed, 4 insertions, 4 deletions
diff --git a/dev-go/licenseclassifier/licenseclassifier-0_pre20200402.ebuild b/dev-go/licenseclassifier/licenseclassifier-0_pre20200402.ebuild
index c666a32af4c5..5152bafd8068 100644
--- a/dev-go/licenseclassifier/licenseclassifier-0_pre20200402.ebuild
+++ b/dev-go/licenseclassifier/licenseclassifier-0_pre20200402.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -59,7 +59,7 @@ src_compile() {
# Make a binary that will use fixed path for the db
cp -v file_system_resources.go{,.bak} || die
- local share="${EROOT}/usr/share/licenseclassifier"
+ local share="${EPREFIX}/usr/share/licenseclassifier"
sed -i "s@= lcRoot()@= \"${share}\", error(nil)@" file_system_resources.go || die
go build -o build ./... || die
diff --git a/dev-go/licenseclassifier/licenseclassifier-9999.ebuild b/dev-go/licenseclassifier/licenseclassifier-9999.ebuild
index 84b9056372d5..a2b6303b1b93 100644
--- a/dev-go/licenseclassifier/licenseclassifier-9999.ebuild
+++ b/dev-go/licenseclassifier/licenseclassifier-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -59,7 +59,7 @@ src_compile() {
# Make a binary that will use fixed path for the db
cp -v file_system_resources.go{,.bak} || die
- local share="${EROOT}/usr/share/licenseclassifier"
+ local share="${EPREFIX}/usr/share/licenseclassifier"
sed -i "s@= lcRoot()@= \"${share}\", error(nil)@" file_system_resources.go || die
go build -o build ./... || die