Date: Tue, 12 Oct 2021 19:07:00 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: 06f9c78487fc - main - misc/xplr: fix build on powerpc64* Message-ID: <202110121907.19CJ70Ku020104@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=06f9c78487fc70bb9eb877890f936e03112d33d3 commit 06f9c78487fc70bb9eb877890f936e03112d33d3 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2021-10-12 18:37:09 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2021-10-12 18:37:09 +0000 misc/xplr: fix build on powerpc64* Since luajit doesn't work on powerpc64*, use system luajit-openresty. --- misc/xplr/Makefile | 7 +++++++ misc/xplr/files/extra-patch-Cargo.toml | 11 +++++++++++ 2 files changed, 18 insertions(+) diff --git a/misc/xplr/Makefile b/misc/xplr/Makefile index ef098e3f0f02..ef3b819b919f 100644 --- a/misc/xplr/Makefile +++ b/misc/xplr/Makefile @@ -145,6 +145,13 @@ OPTIONS_DEFINE= DOCS EXAMPLES _ASSETS= ${WRKSRC}/assets _ICONS= ${STAGEDIR}${PREFIX}/share/icons/hicolor +.include <bsd.port.options.mk> + +.if ${ARCH:Mpowerpc64*} +EXTRA_PATCHES= ${FILESDIR}/extra-patch-Cargo.toml +LIB_DEPENDS= libluajit-5.1.so:lang/luajit-openresty +.endif + post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} diff --git a/misc/xplr/files/extra-patch-Cargo.toml b/misc/xplr/files/extra-patch-Cargo.toml new file mode 100644 index 000000000000..f69fe3c97295 --- /dev/null +++ b/misc/xplr/files/extra-patch-Cargo.toml @@ -0,0 +1,11 @@ +--- Cargo.toml.orig 2021-10-11 23:08:59 UTC ++++ Cargo.toml +@@ -30,7 +30,7 @@ lazy_static = "1.4.0" + indexmap = { version = "1.7.0", features = ["serde"] } + natord = "1.0.9" + humansize = "1.1.1" +-mlua = { version = "0.6.4", features = ["luajit", "vendored", "serialize", "send"] } ++mlua = { version = "0.6.4", features = ["luajit", "serialize", "send"] } + ansi-to-tui = "0.4.1" + libc = "0.2.103" +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110121907.19CJ70Ku020104>