Date: Mon, 10 Sep 2018 13:11:12 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r479404 - head/www/nginx Message-ID: <201809101311.w8ADBCuk043574@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mat Date: Mon Sep 10 13:11:12 2018 New Revision: 479404 URL: https://svnweb.freebsd.org/changeset/ports/479404 Log: Some modules depend on other being there before. For example, devel_kit needs to be there before a few other, so this fixes, and allow for future fixes of this kind of problem: configuring additional dynamic modules adding module in /wrkdirs/usr/ports/www/nginx-full/work/array-var-nginx-module-0.05 error: ngx_devel_kit is required to build ngx_array_var; please put it before ngx_array_var. PR: 230864 Submitted by: mat exp-runs by: antoine Modified: head/www/nginx/Makefile (contents, props changed) head/www/nginx/Makefile.extmod (contents, props changed) Modified: head/www/nginx/Makefile ============================================================================== --- head/www/nginx/Makefile Mon Sep 10 12:55:59 2018 (r479403) +++ head/www/nginx/Makefile Mon Sep 10 13:11:12 2018 (r479404) @@ -197,6 +197,12 @@ _addextmod= add-module CONFIGURE_ARGS+= --with-${mod}${_addbasemod} .endfor +# Some modules depend on other being there before, for example, devel_kit needs +# to be there before a few other. +.for mod in ${FIRST_DSO_EXTMODS} +CONFIGURE_ARGS+= --${_addextmod}=${WRKSRC_${mod}}${${mod:tu}_SUBDIR} +.endfor + .for mod in ${DSO_EXTMODS} CONFIGURE_ARGS+= --${_addextmod}=${WRKSRC_${mod}}${${mod:tu}_SUBDIR} .endfor Modified: head/www/nginx/Makefile.extmod ============================================================================== --- head/www/nginx/Makefile.extmod Mon Sep 10 12:55:59 2018 (r479403) +++ head/www/nginx/Makefile.extmod Mon Sep 10 13:11:12 2018 (r479404) @@ -45,7 +45,7 @@ DYNAMIC_UPSTREAM_VARS= DSO_EXTMODS+=dynamic_upstream DYNAMIC_UPSTREAM_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-ngx_inet_slab.c DEVEL_KIT_GH_TUPLE= simpl:ngx_devel_kit:v0.3.0:devel_kit -DEVEL_KIT_VARS= DSO_EXTMODS+=devel_kit +DEVEL_KIT_VARS= FIRST_DSO_EXTMODS+=devel_kit ENCRYPTSESSION_IMPLIES= DEVEL_KIT ENCRYPTSESSION_GH_TUPLE= openresty:encrypted-session-nginx-module:v0.07:encryptsession
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809101311.w8ADBCuk043574>