mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
gnuconfig.eclass: drop EAPI 5 support
autotools.eclass hasn't had EAPI 5 support for ~2 years since 50710f3d0e8f19fab5571d9596c336314e96b5cf so this wasn't being used anyway (non-autotools.eclass use of gnuconfig.eclass is very niche). Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
691f40a3f2
commit
1bb3b5e672
@ -6,7 +6,7 @@
|
||||
# Sam James <sam@gentoo.org>
|
||||
# @AUTHOR:
|
||||
# Will Woods <wwoods@gentoo.org>
|
||||
# @SUPPORTED_EAPIS: 5 6 7 8
|
||||
# @SUPPORTED_EAPIS: 6 7 8
|
||||
# @BLURB: Refresh bundled gnuconfig files (config.guess, config.sub)
|
||||
# @DESCRIPTION:
|
||||
# This eclass is used to automatically update files that typically come with
|
||||
@ -17,7 +17,7 @@
|
||||
#
|
||||
|
||||
case ${EAPI:-0} in
|
||||
5|6|7|8) ;;
|
||||
6|7|8) ;;
|
||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||
esac
|
||||
|
||||
@ -39,7 +39,7 @@ GNUCONFIG_DEPEND="sys-devel/gnuconfig"
|
||||
: "${GNUCONFIG_AUTO_DEPEND:=yes}"
|
||||
if [[ ${GNUCONFIG_AUTO_DEPEND} != "no" ]] ; then
|
||||
case ${EAPI} in
|
||||
5|6) DEPEND=${GNUCONFIG_DEPEND} ;;
|
||||
6) DEPEND=${GNUCONFIG_DEPEND} ;;
|
||||
*) BDEPEND=${GNUCONFIG_DEPEND} ;;
|
||||
esac
|
||||
fi
|
||||
@ -122,7 +122,7 @@ gnuconfig_findnewest() {
|
||||
local prefix
|
||||
|
||||
case ${EAPI} in
|
||||
5|6)
|
||||
6)
|
||||
prefix="${EPREFIX}"
|
||||
;;
|
||||
*)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user