mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
www/nift: Use USES=luajit (defaults to luajit-devel)
This commit is contained in:
parent
d402101c00
commit
d2f59ffa42
@ -1,6 +1,7 @@
|
||||
PORTNAME= nift
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 2.4.11
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= www
|
||||
|
||||
MAINTAINER= info@babaei.net
|
||||
@ -18,8 +19,7 @@ GH_PROJECT= nsm
|
||||
PLIST_FILES= bin/nift \
|
||||
bin/nsm
|
||||
|
||||
OPTIONS_DEFAULT= BUNDLED_LUAJIT
|
||||
OPTIONS_DEFAULT_powerpc= PORTS_LUAJIT
|
||||
OPTIONS_DEFAULT= PORTS_LUAJIT
|
||||
OPTIONS_DEFAULT_powerpc64= BUNDLED_LUA53
|
||||
OPTIONS_DEFAULT_powerpc64le= BUNDLED_LUA53
|
||||
OPTIONS_DEFAULT_riscv64= BUNDLED_LUA53
|
||||
@ -51,8 +51,8 @@ PORTS_LUA53_LIB_DEPENDS= liblua-5.3.so:lang/lua53
|
||||
PORTS_LUA53_MAKE_ARGS= BUNDLED=0 LUA_VERSION=5.3
|
||||
PORTS_LUA54_LIB_DEPENDS= liblua-5.4.so:lang/lua54
|
||||
PORTS_LUA54_MAKE_ARGS= BUNDLED=0 LUA_VERSION=5.4
|
||||
PORTS_LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit
|
||||
PORTS_LUAJIT_MAKE_ARGS= BUNDLED=0 LUAJIT_VERSION=2.0
|
||||
PORTS_LUAJIT_USES= luajit
|
||||
PORTS_LUAJIT_MAKE_ARGS= BUNDLED=0 LUAJIT_VERSION=${LUAJIT_LUAVER}
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
|
||||
|
Loading…
Reference in New Issue
Block a user