Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jan 2023 23:04:22 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: fbf53dfd85d5 - main - games/instead: fix build on powerpc64* with LUAJIT
Message-ID:  <202301042304.304N4MpW017376@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

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

commit fbf53dfd85d53eb47f1b23bca62dd7d0a8fc234d
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-01-04 21:46:07 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-01-04 23:04:12 +0000

    games/instead: fix build on powerpc64* with LUAJIT
    
    lang/luajit doesn't work on powerpc64*.
---
 games/instead/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/games/instead/Makefile b/games/instead/Makefile
index bb664f1fa1e0..d965e0782d1d 100644
--- a/games/instead/Makefile
+++ b/games/instead/Makefile
@@ -43,4 +43,10 @@ LUAJIT_CMAKE_BOOL=	WITH_LUAJIT
 HARFBUZZ_CMAKE_BOOL=	WITH_HARFBUZZ
 HARFBUZZ_LIB_DEPENDS=	libharfbuzz.so:print/harfbuzz
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH:Mpowerpc64*}
+LUAJIT_LIB_DEPENDS=	libluajit-5.1.so:lang/luajit-openresty
+.endif
+
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202301042304.304N4MpW017376>