dev-java/java-config: replace @GENTOO_PORTAGE_EPREFIX@ in launcher.bash

Closes: https://bugs.gentoo.org/544836
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
Mike Gilbert
2023-05-30 13:58:55 -04:00
parent cd25a4746a
commit 2b106da22d
2 changed files with 12 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ EAPI=7
PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_USE_SETUPTOOLS=no
inherit distutils-r1
inherit distutils-r1 prefix
DESCRIPTION="Java environment configuration query tool"
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Java"
@@ -26,6 +26,11 @@ RDEPEND="
sys-apps/baselayout-java
sys-apps/portage[${PYTHON_USEDEP}]"
python_configure_all() {
# setup.py fails to update this file
eprefixify src/launcher.bash
}
python_install_all() {
distutils-r1_python_install_all

View File

@@ -7,7 +7,7 @@ EAPI=7
PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_USE_SETUPTOOLS=no
inherit distutils-r1
inherit distutils-r1 prefix
if [[ ${PV} = *9999 ]]; then
inherit git-r3
@@ -32,6 +32,11 @@ RDEPEND="
sys-apps/baselayout-java
sys-apps/portage[${PYTHON_USEDEP}]"
python_configure_all() {
# setup.py fails to update this file
eprefixify src/launcher.bash
}
python_install_all() {
distutils-r1_python_install_all