summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2022-11-27 22:05:49 +0100
committerAlfredo Tupone <tupone@gentoo.org>2022-11-27 22:06:20 +0100
commite9e69683de2a169a0ebba4790c50d7256257ee84 (patch)
tree08f29ebd5f3a94411272f052e143c9d2e22b1b3b /eclass/ada.eclass
parentapp-admin/systemdgenie: Restore KEYWORDS for 0.99.0_p20221120 (diff)
downloadgentoo-e9e69683de2a169a0ebba4790c50d7256257ee84.tar.gz
gentoo-e9e69683de2a169a0ebba4790c50d7256257ee84.tar.bz2
gentoo-e9e69683de2a169a0ebba4790c50d7256257ee84.zip
ada.eclass: drop gnat_2020 from ada.eclass
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'eclass/ada.eclass')
-rw-r--r--eclass/ada.eclass12
1 files changed, 4 insertions, 8 deletions
diff --git a/eclass/ada.eclass b/eclass/ada.eclass
index 9139d5820a93..d8a456a96951 100644
--- a/eclass/ada.eclass
+++ b/eclass/ada.eclass
@@ -58,7 +58,7 @@ EXPORT_FUNCTIONS pkg_setup
# @DESCRIPTION:
# All supported Ada implementations, most preferred last.
_ADA_ALL_IMPLS=(
- gnat_2020 gnat_2021 gcc_12_2_0
+ gnat_2021 gcc_12_2_0
)
readonly _ADA_ALL_IMPLS
@@ -83,7 +83,7 @@ _ada_impl_supported() {
# keep in sync with _ADA_ALL_IMPLS!
# (not using that list because inline patterns shall be faster)
case "${impl}" in
- gnat_202[01])
+ gnat_2021)
return 0
;;
gcc_12_2_0)
@@ -180,7 +180,7 @@ ada_export() {
local impl var
case "${1}" in
- gnat_202[01])
+ gnat_2021)
impl=${1}
shift
;;
@@ -200,10 +200,6 @@ ada_export() {
local gcc_pv
local slot
case "${impl}" in
- gnat_2020)
- gcc_pv=9.3.1
- slot=9.3.1
- ;;
gnat_2021)
gcc_pv=10
slot=10
@@ -258,7 +254,7 @@ ada_export() {
;;
ADA_PKG_DEP)
case "${impl}" in
- gnat_202[01])
+ gnat_2021)
ADA_PKG_DEP="dev-lang/gnat-gpl:${slot}[ada]"
;;
*)