git: 7e85755afc32 - main - luajit: Default to luajit-openresty on powerpc64*

From: Adam Weinberger <adamw_at_FreeBSD.org>
Date: Fri, 14 Oct 2022 19:42:38 UTC
The branch main has been updated by adamw:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7e85755afc3223a1dac9edc3c10a22487d52daaa

commit 7e85755afc3223a1dac9edc3c10a22487d52daaa
Author:     Adam Weinberger <adamw@FreeBSD.org>
AuthorDate: 2022-10-14 19:41:16 +0000
Commit:     Adam Weinberger <adamw@FreeBSD.org>
CommitDate: 2022-10-14 19:42:34 +0000

    luajit: Default to luajit-openresty on powerpc64*
    
    Reported by:    pkubaj
---
 Mk/bsd.default-versions.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Mk/bsd.default-versions.mk b/Mk/bsd.default-versions.mk
index 5a36e0b9c4d0..c6c620ec8010 100644
--- a/Mk/bsd.default-versions.mk
+++ b/Mk/bsd.default-versions.mk
@@ -88,7 +88,11 @@ LLVM_DEFAULT?=		90
 # Possible values: 5.1, 5.2, 5.3, 5.4
 LUA_DEFAULT?=		5.2
 # Possible values: luajit, luajit-devel, luajit-openresty
+.  if ${ARCH:Mpowerpc64*}
+LUAJIT_DEFAULT?=	luajit-openresty
+.  else
 LUAJIT_DEFAULT?=	luajit-devel
+.  endif
 # Possible values: 5.10, 5.20, 6.8
 MONO_DEFAULT=		5.10
 # Possible values: 5.6, 5.7, 8.0, 10.3m, 10.4m, 10.5m, 5.7p, 5.7w