1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00
freebsd-ports/www/angie-module-lua/files/patch-stream-lua-config
Oleg A. Mamontov c514bb25dd www/angie-module-lua: Angie Lua dynamic module
Module embeds the power of Lua into Angie HTTP and STREAM servers.
By leveraging Angie's subrequests, this module allows the integration of
the powerful Lua threads (known as "coroutines") into the Angie event model.

PR:		273462
2023-09-22 00:54:46 -04:00

36 lines
1.3 KiB
Plaintext

--- ../stream-lua-nginx-module-0.0.13/config.orig
+++ ../stream-lua-nginx-module-0.0.13/config
@@ -45,9 +45,9 @@
NGX_TEST_LD_OPT="$ngx_lua_opt_L $NGX_TEST_LD_OPT"
if [ $NGX_RPATH = YES ]; then
- ngx_feature_libs="-R$LUAJIT_LIB $ngx_lua_opt_L -lluajit-5.1 $luajit_ld_opt"
+ ngx_feature_libs="-R$LUAJIT_LIB $ngx_lua_opt_L -lluajit-5.1 -lpcre $luajit_ld_opt"
else
- ngx_feature_libs="$ngx_lua_opt_L -lluajit-5.1 $luajit_ld_opt"
+ ngx_feature_libs="$ngx_lua_opt_L -lluajit-5.1 -lpcre $luajit_ld_opt"
fi
. auto/feature
@@ -71,9 +71,9 @@
NGX_TEST_LD_OPT="$ngx_lua_opt_L $NGX_TEST_LD_OPT"
if [ $NGX_RPATH = YES ]; then
- ngx_feature_libs="-R$LUAJIT_LIB $ngx_lua_opt_L -lluajit-5.1 $luajit_ld_opt"
+ ngx_feature_libs="-R$LUAJIT_LIB $ngx_lua_opt_L -lluajit-5.1 -lpcre $luajit_ld_opt"
else
- ngx_feature_libs="$ngx_lua_opt_L -lluajit-5.1 $luajit_ld_opt"
+ ngx_feature_libs="$ngx_lua_opt_L -lluajit-5.1 -lpcre $luajit_ld_opt"
fi
. auto/feature
@@ -436,7 +436,7 @@
. auto/feature
if [ $ngx_found = yes ]; then
- CORE_LIBS="-Wl,--require-defined=pcre_version $CORE_LIBS"
+ :
fi
;;
esac