Download raw body.
nginx: fix nginx-njs WANTLIB
This fixes WANTLIB for njs, currently pcre2 is listed in LIB_DEPENDS-njs
but there's no related WANTLIB-njs entry, so the dependency just gets
stripped out from the packages.
I added a comment because check-lib-depends will show it as Extra even
though it is really needed.
ok?
Index: Makefile
===================================================================
RCS file: /cvs/ports/www/nginx/Makefile,v
diff -u -p -r1.195 Makefile
--- Makefile 19 Aug 2025 16:51:20 -0000 1.195
+++ Makefile 10 Sep 2025 15:18:59 -0000
@@ -22,7 +22,7 @@ COMMENT-xslt= nginx XSLT filter module
VERSION= 1.28.0
REVISION= 1
REVISION-mailproxy= 2
-REVISION-njs= 2
+REVISION-njs= 3
DISTNAME= nginx-${VERSION}
CATEGORIES= www
@@ -106,6 +106,9 @@ WANTLIB-mailproxy=
WANTLIB-modsecurity= modsecurity
WANTLIB-naxsi=
WANTLIB-njs= exslt m xml2 xslt
+# not recorded in DT_NEEDED for the njs-related modules, but
+# pcre2-8 functions are still used there
+WANTLIB-njs+= pcre2-8
WANTLIB-perl= c m perl
WANTLIB-rtmp=
WANTLIB-securelink= crypto
nginx: fix nginx-njs WANTLIB