summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-06-10 22:18:52 +0000
committerSam James <sam@gentoo.org>2021-06-10 22:18:52 +0000
commitb78ea64a3278405e67a596d7a8ab9f6effbb40c2 (patch)
tree452b3d25323fcb4fb36fa1830ff700c0a8e5bb23
parentapp-i18n/ibus-chewing: fix VariableScope (EROOT) (diff)
downloadgentoo-b78ea64a3278405e67a596d7a8ab9f6effbb40c2.tar.gz
gentoo-b78ea64a3278405e67a596d7a8ab9f6effbb40c2.tar.bz2
gentoo-b78ea64a3278405e67a596d7a8ab9f6effbb40c2.zip
dev-java/freemarker: fix VariableScope (EROOT)
Let's use ${EPREFIX} for now as we're on EAPI 6. (But it seems right anyway.) Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--dev-java/freemarker/freemarker-2.3.25.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-java/freemarker/freemarker-2.3.25.ebuild b/dev-java/freemarker/freemarker-2.3.25.ebuild
index 8c7f2fd962de..a2a490feb6cb 100644
--- a/dev-java/freemarker/freemarker-2.3.25.ebuild
+++ b/dev-java/freemarker/freemarker-2.3.25.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -54,7 +54,7 @@ src_prepare() {
sed -i \
-e '/<ivy:cachepath/d' \
-e 's/"ivy\.dep[^"]*"/"gentoo.classpath"/g' \
- -e "s:javacchome=\"[^\"]*\":javacchome=\"${EROOT}usr/share/javacc/lib\":g" \
+ -e "s:javacchome=\"[^\"]*\":javacchome=\"${EPREFIX%/}/usr/share/javacc/lib\":g" \
build.xml || die
java-pkg-2_src_prepare