diff options
Diffstat (limited to 'eclass/libtool.eclass')
-rw-r--r-- | eclass/libtool.eclass | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/eclass/libtool.eclass b/eclass/libtool.eclass index bd6141e1ede9..b36b1fd365d3 100644 --- a/eclass/libtool.eclass +++ b/eclass/libtool.eclass @@ -18,6 +18,15 @@ if [[ -z ${_LIBTOOL_ECLASS} ]]; then _LIBTOOL_ECLASS=1 case ${EAPI} in + 6) + ewarn "${CATEGORY}/${PF}: ebuild uses ${ECLASS} with deprecated EAPI ${EAPI}!" + ewarn "${CATEGORY}/${PF}: Support will be removed on 2024-10-08. Please port to newer EAPI." + ;; + 7|8) ;; + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; +esac + +case ${EAPI} in 6) DEPEND=">=app-portage/elt-patches-20240116" ;; 7|8) BDEPEND=">=app-portage/elt-patches-20240116" ;; *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; |