Move the patches for third-party lua module to lua code block.

Do not bump PORTREVISION.

PR:	218683
This commit is contained in:
Sergey A. Osokin 2017-04-16 13:25:41 +00:00
parent 3c883d4ead
commit 2674c78a22
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=438659

View File

@ -817,10 +817,6 @@ GH_ACCOUNT+= simpl:devel_kit
GH_PROJECT+= ngx_devel_kit:devel_kit
GH_TAGNAME+= v${NGINX_DEVEL_KIT_VERSION}:devel_kit
CONFIGURE_ARGS+=--add-module=${WRKSRC_devel_kit}
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_lua_common.h \
${PATCHDIR}/extra-patch-ngx_http_lua_headers.c \
${PATCHDIR}/extra-patch-ngx_http_lua_headers.h \
${PATCHDIR}/extra-patch-ngx_http_lua_module.c
.endif
.if ${PORT_OPTIONS:MENCRYPTSESSION}
@ -861,6 +857,10 @@ CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_lua}
.else
CONFIGURE_ARGS+=--add-module=${WRKSRC_lua}
.endif
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_lua_common.h \
${PATCHDIR}/extra-patch-ngx_http_lua_headers.c \
${PATCHDIR}/extra-patch-ngx_http_lua_headers.h \
${PATCHDIR}/extra-patch-ngx_http_lua_module.c
.endif
.if ${PORT_OPTIONS:MMEMC}