summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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."