git: 567f9d7fb0f0 - main - devel/libnjs: fix prefix path in the pkgconfig file
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 22 Sep 2024 03:45:04 UTC
The branch main has been updated by osa:
URL: https://cgit.FreeBSD.org/ports/commit/?id=567f9d7fb0f0e80d1a5f1bcee4dd80ab7d38fb88
commit 567f9d7fb0f0e80d1a5f1bcee4dd80ab7d38fb88
Author: Sergey A. Osokin <osa@FreeBSD.org>
AuthorDate: 2024-09-22 03:44:19 +0000
Commit: Sergey A. Osokin <osa@FreeBSD.org>
CommitDate: 2024-09-22 03:44:52 +0000
devel/libnjs: fix prefix path in the pkgconfig file
Bump PORTREVISION.
---
devel/libnjs/Makefile | 3 ++-
devel/libnjs/files/patch-src_njs.pc.in | 5 +++--
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/devel/libnjs/Makefile b/devel/libnjs/Makefile
index 34ee03d169c7..f1e041e5f5b0 100644
--- a/devel/libnjs/Makefile
+++ b/devel/libnjs/Makefile
@@ -1,5 +1,6 @@
PORTNAME= libnjs
DISTVERSION= 0.8.5
+PORTREVISION= 1
CATEGORIES= devel www
MAINTAINER= osa@FreeBSD.org
@@ -21,7 +22,7 @@ HAS_CONFIGURE= yes
post-patch:
@${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g' \
- ${WRKSRC}/auto/make
+ ${WRKSRC}/src/njs.pc.in
do-build:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} libnjs
diff --git a/devel/libnjs/files/patch-src_njs.pc.in b/devel/libnjs/files/patch-src_njs.pc.in
index 1a85733f9e9d..5e43e3605a3f 100644
--- a/devel/libnjs/files/patch-src_njs.pc.in
+++ b/devel/libnjs/files/patch-src_njs.pc.in
@@ -1,8 +1,9 @@
---- src/njs.pc.in.orig 2023-07-11 23:13:20 UTC
+--- src/njs.pc.in.orig 2024-06-25 17:40:20 UTC
+++ src/njs.pc.in
@@ -1,8 +1,8 @@
- prefix=@PREFIX@
+-prefix=@PREFIX@
-libdir=@LIBDIR@
++prefix=%%LOCALBASE%%
+libdir=${prefix}/lib
Name: njs