diff options
author | Sergey A. Osokin <osa@FreeBSD.org> | 2024-07-09 09:10:38 -0400 |
---|---|---|
committer | Sergey A. Osokin <osa@FreeBSD.org> | 2024-07-09 09:10:38 -0400 |
commit | 679a1b0ca0828c1f38dd039e2b0b098bcb7981b4 (patch) | |
tree | 8ecda39f161572c508f9909e739b0a1863eacc8b /www/nginx-devel/files | |
parent | deskutils/cherrytree: update the port to version 1.1.4 (diff) |
www/nginx-devel: add QuickJS engine to NGINX JavaScript module
Bump PORTREVISION.
Diffstat (limited to 'www/nginx-devel/files')
-rw-r--r-- | www/nginx-devel/files/extra-patch-njs-auto-quickjs | 15 |
1 files changed, 15 insertions, 0 deletions
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 |