commit:     03a039ba5ea4a7ba6ef03b8b46ae8a6bbe6c3414
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Thu Jan  7 08:28:44 2021 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Thu Jan  7 08:28:44 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03a039ba

sys-devel/gdb-apple: drop handling for x86-macos

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 sys-devel/gdb-apple/gdb-apple-1752.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb-apple/gdb-apple-1752.ebuild 
b/sys-devel/gdb-apple/gdb-apple-1752.ebuild
index 9022fa9d743..512a1d0cb6f 100644
--- a/sys-devel/gdb-apple/gdb-apple-1752.ebuild
+++ b/sys-devel/gdb-apple/gdb-apple-1752.ebuild
@@ -86,7 +86,7 @@ pkg_postinst() {
                ewarn "  % sudo chgrp procmod ${EPREFIX}/usr/bin/gdb"
                ewarn "  % sudo chmod g+s ${EPREFIX}/usr/bin/gdb"
        fi
-       if use x86-macos || use x64-macos ; then
+       if [[ ${CHOST} == *86* ]] ; then
                einfo "FSF gdb works on Intel-based OSX platforms, sometimes 
even"
                einfo "better than gdb-apple.  You can consider installing FSF 
gdb"
                einfo "instead of gdb-apple, since the FSF version is surely 
more"

Reply via email to