commit: 5bd9d4fc7fe0af7ce53545fd234bc329b2e32ebf Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net> AuthorDate: Tue Feb 22 18:04:06 2022 +0000 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> CommitDate: Wed Feb 23 09:17:46 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bd9d4fc
dev-java/cglib: Fix syntax error Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net> Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> dev-java/cglib/cglib-3.3.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-java/cglib/cglib-3.3.0-r1.ebuild b/dev-java/cglib/cglib-3.3.0-r1.ebuild index d82a7f3a7d4a..26ae3e989c16 100644 --- a/dev-java/cglib/cglib-3.3.0-r1.ebuild +++ b/dev-java/cglib/cglib-3.3.0-r1.ebuild @@ -57,7 +57,7 @@ src_test() { # throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @42bb2aee local vm_version="$(java-config -g PROVIDES_VERSION)" - if [[ "${vm_version}" -ge "17" ]] ; then + if ver_test "${vm_version}" -ge "17" ; then JAVA_TEST_EXTRA_ARGS+=( --add-opens=java.base/java.lang=ALL-UNNAMED ) fi