On Wed, Sep 06, 2023 at 05:13:24AM +0200, Landry Breuil wrote:
> Le Tue, Sep 05, 2023 at 05:57:09PM +0000, Sergey A. Osokin a écrit :
> > Landry,
> > 
> > the recent update in lang/njs you made includes a fix for the
> > njs.pc, so we may have to return to this one?  Or am I missing
> > something?
> 
> maybe, dont remember the context :)
> 
> in all cases it needs REVISION bumps since it changes the dependencies..

Sure, here's the updated patch.

--
Sergey A. Osokin
Index: Makefile.inc
===================================================================
RCS file: /cvs/ports/www/unit/Makefile.inc,v
retrieving revision 1.9
diff -u -p -r1.9 Makefile.inc
--- Makefile.inc	5 Sep 2023 11:31:17 -0000	1.9
+++ Makefile.inc	6 Sep 2023 14:10:35 -0000
@@ -27,6 +27,7 @@ CONFIGURE_ARGS=	--prefix=${PREFIX} \
 		--pid=${LOCALSTATEDIR}/run/unit/unit.pid \
 		--runstatedir=${LOCALSTATEDIR}/run/unit \
 		--statedir=${LOCALSTATEDIR}/db/unit \
+		--njs \
 		--tmpdir=${LOCALSTATEDIR}/tmp/unit \
 		--openssl \
 		--user=_unit \
Index: unit/Makefile
===================================================================
RCS file: /cvs/ports/www/unit/unit/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- unit/Makefile	4 Sep 2023 17:02:21 -0000	1.6
+++ unit/Makefile	6 Sep 2023 14:10:35 -0000
@@ -1,8 +1,11 @@
 COMMENT=	dynamic web application server
 
+REVISION=	0
+
 WANTLIB=	c crypto m pcre2-8 pthread ssl
 
-LIB_DEPENDS=	devel/pcre2
+LIB_DEPENDS=	devel/pcre2 \
+		lang/njs
 
 MODULES=	lang/python
 MODPY_BUILDDEP=	No

Reply via email to