ada.eclass: fix mispelling of ada_target
authorTupone Alfredo <tupone@gentoo.org>
Tue, 17 Sep 2019 06:50:41 +0000 (08:50 +0200)
committerTupone Alfredo <tupone@gentoo.org>
Tue, 17 Sep 2019 06:52:11 +0000 (08:52 +0200)
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
eclass/ada.eclass

index 65d5e082967c70b43cd8c01e56c17f75612a585b..aae30562074bdc04bce1841fef626365ae2d8ae4 100644 (file)
@@ -405,7 +405,7 @@ ada_setup() {
        unset EADA
 
        if [[ ${#_ADA_SUPPORTED_IMPLS[@]} -eq 1 ]]; then
-               if use "ada_targets_${_ADA_SUPPORTED_IMPLS[0]}"; 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
                        ada_wrapper_setup