git: ecf6c6babd9c - main - devel/libnjs: fix build

From: Sergey A. Osokin <osa_at_FreeBSD.org>
Date: Sun, 18 Dec 2022 17:08:17 UTC
The branch main has been updated by osa:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ecf6c6babd9ca9c35ef0c9d77bbaec9644558eb1

commit ecf6c6babd9ca9c35ef0c9d77bbaec9644558eb1
Author:     Sergey A. Osokin <osa@FreeBSD.org>
AuthorDate: 2022-12-18 17:06:56 +0000
Commit:     Sergey A. Osokin <osa@FreeBSD.org>
CommitDate: 2022-12-18 17:06:56 +0000

    devel/libnjs: fix build
    
    Do not bump PORTREVISION, the port has no successful builds.
---
 devel/libnjs/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/devel/libnjs/Makefile b/devel/libnjs/Makefile
index 34710896ed28..269f68a519d5 100644
--- a/devel/libnjs/Makefile
+++ b/devel/libnjs/Makefile
@@ -17,6 +17,8 @@ USE_GITHUB=	yes
 GH_TUPLE=	nginx:njs:${DISTVERSION}
 HAS_CONFIGURE=	yes
 
+LIB_DEPENDS=	libpcre2-8.so:devel/pcre2
+
 PLIST_FILES=	include/njs_addr2line.h \
 		include/njs_arr.h \
 		include/njs_array_buffer.h \