freebsd-ports/www/nginx/files/extra-patch-nginx-modsecurity-configure
Jochen Neumeister 5a21efaa27 Update third-party-module:
- modsecurity from 2.9.1 to 2.9.2
- remove needless patch

Update LOCAL Mastersite
2018-07-18 08:41:24 +00:00

29 lines
1.4 KiB
Text

--- ../modsecurity-2.9.2/configure.orig 2018-07-17 14:12:34.223173000 +0200
+++ ../modsecurity-2.9.2/configure 2018-07-17 14:16:23.284534000 +0200
@@ -15715,7 +15715,7 @@ LUA_CPPFLAGS=""
LUA_LDADD=""
LUA_LDFLAGS=""
LUA_CONFIG=${PKG_CONFIG}
-LUA_PKGNAMES="lua5.1 lua-5.1 lua_5.1 lua-51 lua_51 lua51 lua5 lua lua5.2 lua-5.2 lua_5.2 lua-52 lua_52 lua52 lua5.3 lua-5.3 lua_5.3 lua-53 lua_53 lua53 "
+LUA_PKGNAMES="luajit "
LUA_SONAMES="so la sl dll dylib a"
@@ -15731,7 +15731,7 @@ case "${with_lua}" in #(
no) :
test_paths= ;; #(
yes) :
- test_paths="/usr/local/liblua /usr/local/lua /usr/local /opt/liblua /opt/lua /opt /usr" ;; #(
+ test_paths="%%PREFIX%%/include/luajit-2.0" ;; #(
*) :
test_paths="${with_lua}" ;;
esac
@@ -15785,7 +15785,7 @@ $as_echo "$as_me: lua CFLAGS: $LUA_CFLAG
LUA_LDADD="`${LUA_CONFIG} ${LUA_PKGNAME} --libs-only-l`"
if test "$verbose_output" -eq 1; then { $as_echo "$as_me:${as_lineno-$LINENO}: lua LDADD: $LUA_LDADD" >&5
$as_echo "$as_me: lua LDADD: $LUA_LDADD" >&6;}; fi
- LUA_LDFLAGS="`${LUA_CONFIG} ${LUA_PKGNAME} --libs-only-L --libs-only-other`"
+ LUA_LDFLAGS="`${LUA_CONFIG} ${LUA_PKGNAME} --libs-only-L --libs-only-other | sed 's/\/lua51//'`"
if test "$verbose_output" -eq 1; then { $as_echo "$as_me:${as_lineno-$LINENO}: lua LDFLAGS: $LUA_LDFLAGS" >&5
$as_echo "$as_me: lua LDFLAGS: $LUA_LDFLAGS" >&6;}; fi
else