Skip to content

Commit

Permalink
nginx lua variant: require lujit-openresty, update to 0.10.20
Browse files Browse the repository at this point in the history
  • Loading branch information
Schamschula committed May 13, 2022
1 parent 1ee4853 commit 5f9955d
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions www/nginx/Portfile
Expand Up @@ -4,7 +4,7 @@ PortSystem 1.0

name nginx
version 1.21.6
revision 1
revision 2
categories www mail
license BSD
maintainers {mps @Schamschula} openmaintainer
Expand Down Expand Up @@ -399,16 +399,15 @@ variant devel_kit description {Enable ngx_devel_kit module (https://github.com/s
}

variant lua requires devel_kit description {Enable Lua module (https://github.com/openresty/lua-nginx-module)} {
depends_lib-append path:lib/libluajit-5.1.2.dylib:luajit
depends_lib-append port:luajit-openresty
set ngx_lua_filename lua-nginx-module
# Note: keep at version 0.10.15
set ngx_lua_version 0.10.15
set ngx_lua_version 0.10.20
set ngx_lua_distname ${ngx_lua_filename}-${ngx_lua_version}
distfiles-append v${ngx_lua_version}.tar.gz:lua_module
checksums-append v${ngx_lua_version}.tar.gz \
rmd160 1e3801a632eee54458c53a05293cf301653240ec \
sha256 7d5f3439c8df56046d0564b5857fd8a30296ab1bd6df0f048aed7afb56a0a4c2 \
size 655110
rmd160 5cbeaa44c2286273fb114fc7af36c8032ab49c9c \
sha256 efeb38afc966dec36a086a99f9b8706b8a343e5e44d75c19bf8f017ea6657313 \
size 668516

configure.cflags -I${prefix}/include/luajit-2.1/ ${configure.cflags}
configure.env LUAJIT_INC=${prefix}/include/luajit-2.1/
Expand Down

0 comments on commit 5f9955d

Please sign in to comment.