From 2c27bdb9538af1e43590b71b2f6de8ddf47ab751 Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Sat, 2 Jan 2021 13:26:34 +0000 Subject: [PATCH] multimedia/kodi-devel: add powerpc64le support --- multimedia/kodi-devel/Makefile | 2 +- .../files/patch-cmake_scripts_freebsd_ArchSetup.cmake | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/multimedia/kodi-devel/Makefile b/multimedia/kodi-devel/Makefile index 256b10599837..6de994a355b6 100644 --- a/multimedia/kodi-devel/Makefile +++ b/multimedia/kodi-devel/Makefile @@ -11,7 +11,7 @@ COMMENT= Award winning media center application LICENSE= GPLv2+ -ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 powerpc64 +ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 powerpc64 powerpc64le BUILD_DEPENDS= flatbuffers>=0:devel/flatbuffers \ rapidjson>=0:devel/rapidjson \ diff --git a/multimedia/kodi-devel/files/patch-cmake_scripts_freebsd_ArchSetup.cmake b/multimedia/kodi-devel/files/patch-cmake_scripts_freebsd_ArchSetup.cmake index c2007f3569af..9d86d322c2d5 100644 --- a/multimedia/kodi-devel/files/patch-cmake_scripts_freebsd_ArchSetup.cmake +++ b/multimedia/kodi-devel/files/patch-cmake_scripts_freebsd_ArchSetup.cmake @@ -1,11 +1,13 @@ --- cmake/scripts/freebsd/ArchSetup.cmake.orig 2020-12-15 16:30:44 UTC +++ cmake/scripts/freebsd/ArchSetup.cmake -@@ -19,6 +19,8 @@ else() +@@ -19,6 +19,10 @@ else() elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL aarch64) set(ARCH aarch64-freebsd) set(NEON True) + elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL powerpc64) + set(ARCH powerpc64-freebsd) ++ elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL powerpc64le) ++ set(ARCH powerpc64le-freebsd) else() message(WARNING "unknown CPU: ${CPU}") endif()