diff options
author | David Seifert <soap@gentoo.org> | 2022-01-02 18:49:12 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2022-01-02 18:49:12 +0100 |
commit | d13a6eb91812cfa9bd3c8c276b9c7af3ae2fc790 (patch) | |
tree | 6634e2d32bde91b55472c4934167a3cfdce68ba1 /eclass/java-utils-2.eclass | |
parent | profiles: remove freebsd-libc (diff) | |
download | gentoo-d13a6eb91812cfa9bd3c8c276b9c7af3ae2fc790.tar.gz gentoo-d13a6eb91812cfa9bd3c8c276b9c7af3ae2fc790.tar.bz2 gentoo-d13a6eb91812cfa9bd3c8c276b9c7af3ae2fc790.zip |
java-utils-2.eclass: remove freebsd-libc
Signed-off-by: David Seifert <soap@gentoo.org>
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} } |