diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-01-04 01:27:12 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-01-04 01:27:12 +0000 |
commit | 3517852e3b8a68d1e997770fc0650c5053bafc6c (patch) | |
tree | 44068672445b1418489aed82de58df3c470289e7 /eclass/java-utils-2.eclass | |
parent | 0f15659d48c193027158492acb726297501202c5 (diff) |
gentoo resync : 04.01.2022
Diffstat (limited to 'eclass/java-utils-2.eclass')
-rw-r--r-- | eclass/java-utils-2.eclass | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass index 050a5c4847a6..d3d462aa9442 100644 --- a/eclass/java-utils-2.eclass +++ b/eclass/java-utils-2.eclass @@ -1,4 +1,4 @@ -# Copyright 2004-2021 Gentoo Authors +# Copyright 2004-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: java-utils-2.eclass @@ -29,8 +29,6 @@ _JAVA_UTILS_2_ECLASS=1 # Keep versionator inheritance in case consumers are using it implicitly. [[ ${EAPI} == [56] ]] && inherit eapi7-ver eutils multilib versionator -IUSE="elibc_FreeBSD" - # Make sure we use java-config-2 export WANT_JAVA_CONFIG="2" @@ -1689,11 +1687,8 @@ java-pkg_javac-args() { java-pkg_get-jni-cflags() { local flags="-I${JAVA_HOME}/include" - local platform="linux" - use elibc_FreeBSD && platform="freebsd" - # TODO do a check that the directories are valid - flags="${flags} -I${JAVA_HOME}/include/${platform}" + flags="${flags} -I${JAVA_HOME}/include/linux" echo ${flags} } |