commit:     a8862c57a8879232f04103a2449e8d6f6c3b5e1e
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  2 17:31:15 2022 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Jul  2 17:31:15 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8862c57

findlib.eclass: remove unuseful EAPI version test

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 eclass/findlib.eclass | 2 --
 1 file changed, 2 deletions(-)

diff --git a/eclass/findlib.eclass b/eclass/findlib.eclass
index dae19d91c37d..52e3655b3e84 100644
--- a/eclass/findlib.eclass
+++ b/eclass/findlib.eclass
@@ -48,8 +48,6 @@ check_ocamlfind() {
 # We use the stublibs style, so no ld.conf needs to be
 # updated when a package installs C shared libraries.
 findlib_src_preinst() {
-       has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX=
-       has "${EAPI:-0}" 0 1 2 && use !prefix && ED="${D}"
        check_ocamlfind
 
        # destdir is the ocaml sitelib

Reply via email to