summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2024-03-13 20:31:20 +0100
committerAlfredo Tupone <tupone@gentoo.org>2024-03-13 20:31:58 +0100
commitb6402764ea0e32e3173fceea9037b2a2cf7d80d9 (patch)
tree47bcf0cf5cfcbb3801e7c6119797c898beda54c6 /eclass
parentnet-print/epson-inkjet-printer-escpr: stabilize 1.8.4 for amd64, ppc64 (diff)
downloadgentoo-b6402764ea0e32e3173fceea9037b2a2cf7d80d9.tar.gz
gentoo-b6402764ea0e32e3173fceea9037b2a2cf7d80d9.tar.bz2
gentoo-b6402764ea0e32e3173fceea9037b2a2cf7d80d9.zip
dev-ada/gprconfig: MissingInherits
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ada.eclass10
1 files changed, 7 insertions, 3 deletions
diff --git a/eclass/ada.eclass b/eclass/ada.eclass
index e5b62951917a..3c3fa3c01453 100644
--- a/eclass/ada.eclass
+++ b/eclass/ada.eclass
@@ -1,4 +1,4 @@
-# Copyright 2019-2023 Gentoo Authors
+# Copyright 2019-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: ada.eclass
@@ -261,6 +261,10 @@ ada_export() {
export GCC_PV=${gcc_pv}
debug-print "${FUNCNAME}: GCC_PV = ${GCC_PV}"
;;
+ GCCPV)
+ export GCCPV=${gcc_pv}
+ debug-print "${FUNCNAME}: GCCPV = ${GCC_PV}"
+ ;;
GNAT)
export GNAT=${EPREFIX}/usr/bin/gnat-${gcc_pv}
debug-print "${FUNCNAME}: GNAT = ${GNAT}"
@@ -465,7 +469,7 @@ ada_setup() {
if [[ ${#_ADA_SUPPORTED_IMPLS[@]} -eq 1 ]]; then
if use "ada_target_${_ADA_SUPPORTED_IMPLS[0]}"; then
# Only one supported implementation, enable it explicitly
- ada_export "${_ADA_SUPPORTED_IMPLS[0]}" EADA GCC_PV GNAT GNATBIND GNATLS GNATMAKE
+ ada_export "${_ADA_SUPPORTED_IMPLS[0]}" EADA GCCPV GCC_PV GNAT GNATBIND GNATLS GNATMAKE
ada_wrapper_setup
fi
else
@@ -481,7 +485,7 @@ ada_setup() {
die "More than one implementation in ADA_TARGET."
fi
- ada_export "${impl}" EADA GCC_PV GNAT GNATBIND GNATLS GNATMAKE
+ ada_export "${impl}" EADA GCCPV GCC_PV GNAT GNATBIND GNATLS GNATMAKE
ada_wrapper_setup
fi
done