openjk: Cope with NetBSD calling 32-bit arm earm.

This commit is contained in:
nia 2021-09-25 05:40:00 +00:00
parent 92d117ff05
commit d79f492869
2 changed files with 17 additions and 1 deletions

View file

@ -1,7 +1,8 @@
$NetBSD: distinfo,v 1.1 2019/11/03 12:12:56 nia Exp $
$NetBSD: distinfo,v 1.2 2021/09/25 05:40:00 nia Exp $
SHA1 (openjk-0.0.0.20191030-4881be7478a833791d127fce7563de252d2246f7.tar.gz) = 353e4014b3f1bf87cd0e50b995a40cc1eac220ff
RMD160 (openjk-0.0.0.20191030-4881be7478a833791d127fce7563de252d2246f7.tar.gz) = 56fe62caa27f4d9023701d39d6884fb4e1bc55f2
SHA512 (openjk-0.0.0.20191030-4881be7478a833791d127fce7563de252d2246f7.tar.gz) = 2b98203573ec20acc3154acf701dcb2c378fa3cd93bb36e58a4ed89bbab15e0119fc4e8e2fb808a213e65ffb8ce12c5038763e5ef2285bad064e82599603e562
Size (openjk-0.0.0.20191030-4881be7478a833791d127fce7563de252d2246f7.tar.gz) = 13394830 bytes
SHA1 (patch-CMakeLists.txt) = a0f41a5322cb8cdaaa9b2eb966b1f897115dd81d
SHA1 (patch-CMakeModules_InstallConfig.cmake) = e7231d65a1504c1f87eebe4abfe3188a551f306b

View file

@ -0,0 +1,15 @@
$NetBSD: patch-CMakeLists.txt,v 1.1 2021/09/25 05:40:00 nia Exp $
Cope with NetBSD calling 32-bit ARM "earm".
--- CMakeLists.txt.orig 2019-10-30 05:48:12.000000000 +0000
+++ CMakeLists.txt
@@ -114,7 +114,7 @@ if(WIN32)
endif()
else()
set(X86 OFF)
- if(CMAKE_SYSTEM_PROCESSOR MATCHES "^arm")
+ if(CMAKE_SYSTEM_PROCESSOR MATCHES "^(arm|earm)")
set(Architecture "arm")
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^i.86$")
set(X86 ON)