From 679a1b0ca0828c1f38dd039e2b0b098bcb7981b4 Mon Sep 17 00:00:00 2001 From: "Sergey A. Osokin" Date: Tue, 9 Jul 2024 09:10:38 -0400 Subject: www/nginx-devel: add QuickJS engine to NGINX JavaScript module Bump PORTREVISION. --- www/nginx-devel/files/extra-patch-njs-auto-quickjs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 www/nginx-devel/files/extra-patch-njs-auto-quickjs (limited to 'www/nginx-devel/files/extra-patch-njs-auto-quickjs') diff --git a/www/nginx-devel/files/extra-patch-njs-auto-quickjs b/www/nginx-devel/files/extra-patch-njs-auto-quickjs new file mode 100644 index 000000000000..742b880b2059 --- /dev/null +++ b/www/nginx-devel/files/extra-patch-njs-auto-quickjs @@ -0,0 +1,15 @@ +--- ../njs-0.8.5/auto/quickjs.orig 2024-06-25 13:40:20.000000000 -0400 ++++ ../njs-0.8.5/auto/quickjs 2024-07-08 14:45:08.895107000 -0400 +@@ -47,9 +46,9 @@ + 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%%PREFIX%%/include/quickjs/ -L%%PREFIX%%/lib/quickjs/ -lquickjs" ++ njs_feature_incs="%%PREFIX%%/include/quickjs/" ++ njs_feature_libs="-L%%PREFIX%%/lib -lquickjs -lm -ldl -lpthread" + + . auto/feature + fi -- cgit v1.2.3