mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-15 08:56:58 +02:00
eclass/multilib-minimal: Sync with Gentoo
It's from Gentoo commit c88cd248d5228053f43c1bd1cd3568f1562634d1.
This commit is contained in:
parent
db7f0f5b52
commit
e48eb70c5a
@ -4,7 +4,7 @@
|
|||||||
# @ECLASS: multilib-minimal.eclass
|
# @ECLASS: multilib-minimal.eclass
|
||||||
# @MAINTAINER:
|
# @MAINTAINER:
|
||||||
# Michał Górny <mgorny@gentoo.org>
|
# Michał Górny <mgorny@gentoo.org>
|
||||||
# @SUPPORTED_EAPIS: 6 7 8
|
# @SUPPORTED_EAPIS: 7 8
|
||||||
# @PROVIDES: multilib-build
|
# @PROVIDES: multilib-build
|
||||||
# @BLURB: wrapper for multilib builds providing convenient multilib_src_* functions
|
# @BLURB: wrapper for multilib builds providing convenient multilib_src_* functions
|
||||||
# @DESCRIPTION:
|
# @DESCRIPTION:
|
||||||
@ -25,14 +25,10 @@
|
|||||||
|
|
||||||
inherit multilib-build
|
inherit multilib-build
|
||||||
|
|
||||||
if [[ ! ${_MULTILIB_MINIMAL_ECLASS} ]]; then
|
if [[ -z ${_MULTILIB_MINIMAL_ECLASS} ]]; then
|
||||||
_MULTILIB_MINIMAL_ECLASS=1
|
_MULTILIB_MINIMAL_ECLASS=1
|
||||||
|
|
||||||
case ${EAPI} in
|
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) ;;
|
7|8) ;;
|
||||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user