Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jul 2023 02:31:42 GMT
From:      "Sergey A. Osokin" <osa@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1bfd8f025069 - main - devel/libnjs: fix NGINX JavaScript library exposion (+)
Message-ID:  <202307120231.36C2VgZU045594@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by osa:

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

commit 1bfd8f025069b06f89e348ac797d34d9301ec45a
Author:     Sergey A. Osokin <osa@FreeBSD.org>
AuthorDate: 2023-07-12 02:29:44 +0000
Commit:     Sergey A. Osokin <osa@FreeBSD.org>
CommitDate: 2023-07-12 02:31:31 +0000

    devel/libnjs: fix NGINX JavaScript library exposion (+)
    
    Bump PORTREVISION.
---
 devel/libnjs/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/devel/libnjs/Makefile b/devel/libnjs/Makefile
index a6ede4df4804..202e6e82c975 100644
--- a/devel/libnjs/Makefile
+++ b/devel/libnjs/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	libnjs
 DISTVERSION=	0.8.0
+PORTREVISION=	1
 CATEGORIES=	devel www
 
 MAINTAINER=	osa@FreeBSD.org
@@ -94,6 +95,10 @@ PLIST_FILES=	include/njs_addr2line.h \
 		lib/libnjs.a \
 		libdata/pkgconfig/njs.pc
 
+post-patch:
+	@${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g' \
+		${WRKSRC}/nginx/config
+
 do-build:
 	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} libnjs
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307120231.36C2VgZU045594>