summaryrefslogtreecommitdiff
path: root/www/nginx-devel/files/extra-patch-njs-nginx-config
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2024-12-17 13:45:01 -0500
committerSergey A. Osokin <osa@FreeBSD.org>2024-12-17 13:45:53 -0500
commitbda86431bbd3091a035fd2653fa21a0d00b285f4 (patch)
treef20628f24c8c5e2011ac36e0362bb0a36c877eb4 /www/nginx-devel/files/extra-patch-njs-nginx-config
parentnet/s5cmd: Update to 2.3.0 (diff)
*/*: update NGINX JavaScript: 0.8.7 -> 0.8.8 (+)
Bump PORTREVISION for the www/unit. <ChangeLog> nginx modules: *) Feature: implemented shared dictionary for QuickJS engine. *) Improvement: js_preload_object is refactored. *) Bugfix: fixed limit rated output. *) Bugfix: optimized use of SSL contexts for js_fetch_trusted_certificate directive. Core: *) Feature: implemented process object for QuickJS engine. *) Feature: implemented process.kill() method. *) Bugfix: fixed tests with libxml2 2.13 and later. *) Bugfix: fixed promise resolving when Promise is inherited. *) Bugfix: fixed absolute scope in cloned VMs. </ChangeLog>
Diffstat (limited to 'www/nginx-devel/files/extra-patch-njs-nginx-config')
-rw-r--r--www/nginx-devel/files/extra-patch-njs-nginx-config13
1 files changed, 13 insertions, 0 deletions
diff --git a/www/nginx-devel/files/extra-patch-njs-nginx-config b/www/nginx-devel/files/extra-patch-njs-nginx-config
new file mode 100644
index 000000000000..e9a340ab733f
--- /dev/null
+++ b/www/nginx-devel/files/extra-patch-njs-nginx-config
@@ -0,0 +1,13 @@
+--- ../njs-0.8.8/nginx/config.orig 2024-12-16 11:16:44.892658000 -0500
++++ ../njs-0.8.8/nginx/config 2024-12-16 11:19:57.566877000 -0500
+@@ -60,8 +60,8 @@
+ fi
+
+ if [ $ngx_found = no ]; then
+- ngx_feature="QuickJS library -I/usr/include/quickjs/ -L/usr/lib/quickjs/ -lquickjs"
+- ngx_feature_libs="-L/usr/lib/quickjs/ -lquickjs -lm -ldl -lpthread"
++ ngx_feature="QuickJS library -I%%LOCALBASE%%/include/quickjs/ -L%%LOCALBASE%%/lib/ -lquickjs"
++ ngx_feature_libs="-L%%LOCALBASE%%/lib/ -lquickjs -lm -ldl -lpthread"
+
+ . auto/feature
+ fi