summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValérian Rousset <tharvik@users.noreply.github.com>2023-06-03 18:38:43 +0200
committerSam James <sam@gentoo.org>2023-06-14 05:16:29 +0100
commit5855b9cfa8abd0d3b45a06e226070b98259af207 (patch)
tree3e0e36b650e4e2f9eb250152026aa486da6a9478 /net-vpn/i2p
parentwww-client/chromium: add github upstream metadata (diff)
downloadgentoo-5855b9cfa8abd0d3b45a06e226070b98259af207.tar.gz
gentoo-5855b9cfa8abd0d3b45a06e226070b98259af207.tar.bz2
gentoo-5855b9cfa8abd0d3b45a06e226070b98259af207.zip
net-vpn/i2p: widen pkg_pretend to all JDK for 2.1.0
Closes: https://bugs.gentoo.org/847304 Signed-off-by: Valérian Rousset <tharvik@users.noreply.github.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-vpn/i2p')
-rw-r--r--net-vpn/i2p/i2p-2.1.0-r2.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-vpn/i2p/i2p-2.1.0-r2.ebuild b/net-vpn/i2p/i2p-2.1.0-r2.ebuild
index 2883493999e5..b83e479db886 100644
--- a/net-vpn/i2p/i2p-2.1.0-r2.ebuild
+++ b/net-vpn/i2p/i2p-2.1.0-r2.ebuild
@@ -73,8 +73,8 @@ DOCS=( README.md history.txt )
pkg_pretend() {
# see https://bugs.gentoo.org/831290
- if [[ "`java-config --show-active-vm`" = openjdk*-8 ]] &&
- [[ "`java-config --query MERGE_VM --package=ant-core`" != openjdk*-8 ]]
+ if [[ "`java-config --show-active-vm`" = *-8 ]] &&
+ [[ "`java-config --query MERGE_VM --package=ant-core`" != *-8 ]]
then
eerror "dev-java/ant-core was emerged with a newer version of the JDK."
eerror "It will fail to build with virtual/jdk:1.8 due to #831290."