git: 6223b9cae4bf - main - www/nift: fix build on powerpc

Piotr Kubaj pkubaj at FreeBSD.org
Thu Jun 10 00:16:06 UTC 2021


The branch main has been updated by pkubaj:

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

commit 6223b9cae4bf55c15537520494cfffaadb6efb89
Author:     Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-06-10 00:16:04 +0000
Commit:     Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-06-10 00:16:04 +0000

    www/nift: fix build on powerpc
    
    Use the ports luajit by default, since compiling luajit requires using gcc and the build system for this port forces clang on FreeBSD.
---
 www/nift/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/www/nift/Makefile b/www/nift/Makefile
index c81d1d1cb5d4..9f271d48398d 100644
--- a/www/nift/Makefile
+++ b/www/nift/Makefile
@@ -20,11 +20,13 @@ PLIST_FILES=	bin/nift \
 		bin/nsm
 
 OPTIONS_DEFAULT=	BUNDLED_LUAJIT
+OPTIONS_DEFAULT_powerpc=	PORTS_LUAJIT
 OPTIONS_DEFAULT_powerpc64=	BUNDLED_LUA53
 OPTIONS_DEFAULT_powerpc64le=	BUNDLED_LUA53
 OPTIONS_DEFAULT_riscv64=	BUNDLED_LUA53
 OPTIONS_SINGLE=		LUA
 OPTIONS_SINGLE_LUA=	BUNDLED_LUAJIT BUNDLED_LUA53 PORTS_LUAJIT PORTS_LUA54 PORTS_LUA53 PORTS_LUA52 PORTS_LUA51
+OPTIONS_EXCLUDE_powerpc=	BUNDLED_LUAJIT
 OPTIONS_EXCLUDE_powerpc64=	BUNDLED_LUAJIT
 OPTIONS_EXCLUDE_powerpc64le=	BUNDLED_LUAJIT
 OPTIONS_EXCLUDE_riscv64=	BUNDLED_LUAJIT


More information about the dev-commits-ports-main mailing list