mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-19 13:31:28 +02:00
eclass/preserve-libs: Sync with Gentoo
It's from Gentoo commit 7663fbfcd9ca5a7261d8de4120490f95f732a774.
This commit is contained in:
parent
5931980a57
commit
017de6115d
@ -4,17 +4,13 @@
|
||||
# @ECLASS: preserve-libs.eclass
|
||||
# @MAINTAINER:
|
||||
# base-system@gentoo.org
|
||||
# @SUPPORTED_EAPIS: 5 6 7 8
|
||||
# @SUPPORTED_EAPIS: 7 8
|
||||
# @BLURB: preserve libraries after SONAME changes
|
||||
|
||||
if [[ -z ${_PRESERVE_LIBS_ECLASS} ]]; then
|
||||
_PRESERVE_LIBS_ECLASS=1
|
||||
|
||||
case ${EAPI} in
|
||||
5|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
|
||||
|
Loading…
x
Reference in New Issue
Block a user