summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2023-05-30 13:58:55 -0400
committerMike Gilbert <floppym@gentoo.org>2023-05-30 13:58:55 -0400
commit2b106da22dbce2245ff14d4a6f72ab762afea55a (patch)
treedef56cd61c6b6458605e0bfca331c15e3359b8bb /dev-java/java-config
parentmedia-libs/fontconfig: backport fix for fc-cache w/ sysroot (diff)
downloadgentoo-2b106da22dbce2245ff14d4a6f72ab762afea55a.tar.gz
gentoo-2b106da22dbce2245ff14d4a6f72ab762afea55a.tar.bz2
gentoo-2b106da22dbce2245ff14d4a6f72ab762afea55a.zip
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>
Diffstat (limited to 'dev-java/java-config')
-rw-r--r--dev-java/java-config/java-config-2.3.1-r1.ebuild (renamed from dev-java/java-config/java-config-2.3.1.ebuild)7
-rw-r--r--dev-java/java-config/java-config-9999.ebuild7
2 files changed, 12 insertions, 2 deletions
diff --git a/dev-java/java-config/java-config-2.3.1.ebuild b/dev-java/java-config/java-config-2.3.1-r1.ebuild
index dd3b743d548d..13f2ded5c0e8 100644
--- a/dev-java/java-config/java-config-2.3.1.ebuild
+++ b/dev-java/java-config/java-config-2.3.1-r1.ebuild
@@ -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
diff --git a/dev-java/java-config/java-config-9999.ebuild b/dev-java/java-config/java-config-9999.ebuild
index ce28aa1533a0..ee9dad46c7c3 100644
--- a/dev-java/java-config/java-config-9999.ebuild
+++ b/dev-java/java-config/java-config-9999.ebuild
@@ -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