commit:     d13a6eb91812cfa9bd3c8c276b9c7af3ae2fc790
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  2 17:49:12 2022 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Jan  2 17:49:12 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d13a6eb9

java-utils-2.eclass: remove freebsd-libc

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 eclass/java-utils-2.eclass | 9 ++-------
 1 file 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}
 }

Reply via email to