git: 32923049c464 - main - devel/root: Fix configure on powerpc (little-endian)

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sun, 12 Mar 2023 12:55:29 UTC
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=32923049c4642bca1612d42aab2235b92bae0e65

commit 32923049c4642bca1612d42aab2235b92bae0e65
Author:     Erik Jensen <erik@tenku.dk>
AuthorDate: 2023-03-12 12:54:25 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2023-03-12 12:54:25 +0000

    devel/root: Fix configure on powerpc (little-endian)
    
    ROOT version 6.26/06 fails to be configured on powerpc64le:
    https://pkg-status.freebsd.org/foul2/data/131powerpc64le-quarterly/7dea16e20b53/logs/root-6.26.06.log
    
    This patch fixes the reported error for ROOT version >= 6.28/00.
    
    PR:             270152
---
 devel/root/files/patch-cmake_modules_SetUpLinux.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devel/root/files/patch-cmake_modules_SetUpLinux.cmake b/devel/root/files/patch-cmake_modules_SetUpLinux.cmake
index e0ff27d26273..9e2fba9fe4de 100644
--- a/devel/root/files/patch-cmake_modules_SetUpLinux.cmake
+++ b/devel/root/files/patch-cmake_modules_SetUpLinux.cmake
@@ -14,7 +14,7 @@
  elseif(CMAKE_SYSTEM_PROCESSOR MATCHES arm)
    set(ROOT_ARCHITECTURE linuxarm)
 -elseif(CMAKE_SYSTEM_PROCESSOR MATCHES ppc64)
-+elseif(CMAKE_SYSTEM_PROCESSOR MATCHES ppc64 OR CMAKE_SYSTEM_PROCESSOR MATCHES powerpc64)
++elseif(CMAKE_SYSTEM_PROCESSOR MATCHES ppc64 OR CMAKE_SYSTEM_PROCESSOR MATCHES powerpc64 OR CMAKE_SYSTEM_PROCESSOR MATCHES powerpc64le)
    set(ROOT_ARCHITECTURE linuxppc64gcc)
  elseif(CMAKE_SYSTEM_PROCESSOR MATCHES s390x)
    set(ROOT_ARCHITECTURE linuxs390xgcc)