summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2021-05-29 15:38:36 +0200
committerAlfredo Tupone <tupone@gentoo.org>2021-05-29 15:38:36 +0200
commit73d1074b0f3a670516ce5ca07e1ae4b2fa93d230 (patch)
treebb1e6af65f3713b258126156c2c6b3af213f1213
parentdev-lang/gnat-gpl: version bump to 2021 (diff)
downloadgentoo-73d1074b0f3a670516ce5ca07e1ae4b2fa93d230.tar.gz
gentoo-73d1074b0f3a670516ce5ca07e1ae4b2fa93d230.tar.bz2
gentoo-73d1074b0f3a670516ce5ca07e1ae4b2fa93d230.zip
eclass: ada.eclass add gnat_2021
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
-rw-r--r--eclass/ada.eclass9
1 files changed, 6 insertions, 3 deletions
diff --git a/eclass/ada.eclass b/eclass/ada.eclass
index 2e409fd93050..0c658368b529 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_2016 gnat_2017 gnat_2018 gnat_2019 gnat_2020
+ gnat_2016 gnat_2017 gnat_2018 gnat_2019 gnat_2020 gnat_2021
)
readonly _ADA_ALL_IMPLS
@@ -86,7 +86,7 @@ _ada_impl_supported() {
gnat_201[6789])
return 0
;;
- gnat_2020)
+ gnat_202[01])
return 0
;;
*)
@@ -184,7 +184,7 @@ ada_export() {
impl=${1}
shift
;;
- gnat_2020)
+ gnat_202[01])
impl=${1}
shift
;;
@@ -214,6 +214,9 @@ ada_export() {
gnat_2020)
gcc_pv=9.3.1
;;
+ gnat_2021)
+ gcc_pv=10.3.1
+ ;;
*)
gcc_pv="9.9.9"
;;