freebsd-ports/devel/libnjs/files/patch-auto_quickjs
Sergey A. Osokin bda86431bb */*: 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>
2024-12-17 13:45:53 -05:00

15 lines
655 B
Text

--- auto/quickjs.orig 2024-12-15 17:49:15 UTC
+++ auto/quickjs
@@ -46,9 +46,9 @@ if [ $NJS_TRY_QUICKJS = YES ]; then
fi
if [ $njs_found = no ]; then
- njs_feature="QuickJS library -I/usr/include/quickjs/ -L/usr/lib/quickjs/ -lquickjs"
- njs_feature_incs="/usr/include/quickjs/"
- njs_feature_libs="-L/usr/lib/quickjs/ -lquickjs -lm -ldl -lpthread"
+ njs_feature="QuickJS library -I%%LOCALBASE%%/include/quickjs/ -L%%LOCALBASE%%/lib/ -lquickjs"
+ njs_feature_incs="%%LOCALBASE%%/include/quickjs/"
+ njs_feature_libs="-L%%LOCALBASE%%/lib/ -lquickjs -lm -ldl -lpthread"
. auto/feature
fi