aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2016-02-26 09:14:17 +0800
committerosa <osa@FreeBSD.org>2016-02-26 09:14:17 +0800
commitaabebb5a14f96cd1393ca7bb764b01e4fc5358dd (patch)
tree5959b45786469db7a6ed94fe805debd17993735b /www
parent2cad1ed23c0ccc46639263996b842f3a8555e75a (diff)
downloadfreebsd-ports-gnome-aabebb5a14f96cd1393ca7bb764b01e4fc5358dd.tar.gz
freebsd-ports-gnome-aabebb5a14f96cd1393ca7bb764b01e4fc5358dd.tar.zst
freebsd-ports-gnome-aabebb5a14f96cd1393ca7bb764b01e4fc5358dd.zip
Upgrade third-party njs module from bb38609 to dbd4181, convert to
build as dynamic module by default. Do not dump PORTREVISION, this module is disabled by default.
Diffstat (limited to 'www')
-rw-r--r--www/nginx-devel/Makefile9
-rw-r--r--www/nginx-devel/distinfo4
2 files changed, 9 insertions, 4 deletions
diff --git a/www/nginx-devel/Makefile b/www/nginx-devel/Makefile
index c59654af0ab6..47ddb22eb209 100644
--- a/www/nginx-devel/Makefile
+++ b/www/nginx-devel/Makefile
@@ -884,8 +884,8 @@ USE_OPENSSL_PORT= yes
.if ${PORT_OPTIONS:MNJS}
GH_ACCOUNT+= nginx:njs
GH_PROJECT+= njs:njs
-GH_TAGNAME+= bb38609:njs
-CONFIGURE_ARGS+=--add-module=${WRKSRC_njs}/nginx
+GH_TAGNAME+= dbd4181:njs
+CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_njs}/nginx
.endif
.if ${PORT_OPTIONS:MSTREAM}
@@ -1094,6 +1094,11 @@ pre-configure:
( cd ${WRKSRC_small_light} && ./setup )
.endif
+post-configure:
+.if ${PORT_OPTIONS:MNJS}
+ ( cd ${WRKSRC_njs} && ./${CONFIGURE_SCRIPT} && ${MAKE} )
+.endif
+
do-build:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD}
diff --git a/www/nginx-devel/distinfo b/www/nginx-devel/distinfo
index 24c403808806..1ede8e2743bd 100644
--- a/www/nginx-devel/distinfo
+++ b/www/nginx-devel/distinfo
@@ -116,8 +116,8 @@ SHA256 (gabor-nginx-x-rid-header-0daa3cc_GH0.tar.gz) = de784142d867a35ecc5443fa3
SIZE (gabor-nginx-x-rid-header-0daa3cc_GH0.tar.gz) = 2711
SHA256 (openresty-xss-nginx-module-v0.04_GH0.tar.gz) = 4e5230a644779b8298063d5c0bd7dc19531496369456d69dc5281ae1cca4d6ec
SIZE (openresty-xss-nginx-module-v0.04_GH0.tar.gz) = 10536
-SHA256 (nginx-njs-bb38609_GH0.tar.gz) = 3744c8eeeabc69398ecc170f21f49d9030de58c2c13610cdd6809d256ae93af6
-SIZE (nginx-njs-bb38609_GH0.tar.gz) = 136535
+SHA256 (nginx-njs-dbd4181_GH0.tar.gz) = 37bef631e27c50aa7f5d15317c2bb6ce5a079c84d50560ba72e10f04bef0a6ad
+SIZE (nginx-njs-dbd4181_GH0.tar.gz) = 136851
SHA256 (openresty-array-var-nginx-module-v0.03_GH0.tar.gz) = f9892ec9a2e872d8aabeb2234d0d4c66cf85b8dbb2ca5c108a20c3d8c2111189
SIZE (openresty-array-var-nginx-module-v0.03_GH0.tar.gz) = 9520
SHA256 (google-ngx_brotli-86998c6_GH0.tar.gz) = 463a583cfbeacdf6d6db5630afaddc9eebeec44301ca68c660cc8fdf4580e5aa