commit:     f4cbafa51669b5468a35ee9235553322bc0e1388
Author:     Richard-Rogalski <rrogalski <AT> tutanota <DOT> com>
AuthorDate: Sun Oct  2 17:15:36 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct 12 23:06:04 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4cbafa5

dev-libs/botan: fix building for sparc

Closes: https://bugs.gentoo.org/872962
Signed-off-by: Richard Rogalski <rrogalski <AT> tutanota.com>
Closes: https://github.com/gentoo/gentoo/pull/27579
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/botan/botan-2.19.2.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-libs/botan/botan-2.19.2.ebuild 
b/dev-libs/botan/botan-2.19.2.ebuild
index f898e8b84b25..eae0131ed655 100644
--- a/dev-libs/botan/botan-2.19.2.ebuild
+++ b/dev-libs/botan/botan-2.19.2.ebuild
@@ -81,8 +81,10 @@ src_configure() {
 
                        if [[ ${CHOST} == *hppa* ]] ; then
                                chostarch=parisc
-                       elif [[ ${PROFILE_ARCH} == sparc64 ]] ; then
-                               chostarch="sparc32-v9"
+                       elif [[ ${ABI} == sparc64 ]] ; then
+                               chostarch="sparc64"
+                       elif [[ ${ABI} == sparc32 ]] ; then
+                               chostarch="sparc32"
                        fi
                        ;;
        esac

Reply via email to