git: c2205ac0a162 - main - devel/libnjs: change order for the include directories
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 26 Oct 2023 15:56:24 UTC
The branch main has been updated by osa:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c2205ac0a162628b536c382c6b8dfd4ae86c4750
commit c2205ac0a162628b536c382c6b8dfd4ae86c4750
Author: Sergey A. Osokin <osa@FreeBSD.org>
AuthorDate: 2023-10-26 15:54:54 +0000
Commit: Sergey A. Osokin <osa@FreeBSD.org>
CommitDate: 2023-10-26 15:56:18 +0000
devel/libnjs: change order for the include directories
The change helps to build package when its previous version is
installed.
Bump PORTREVISION.
---
devel/libnjs/Makefile | 1 +
devel/libnjs/files/patch-auto_make | 15 +++++++++++++--
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/devel/libnjs/Makefile b/devel/libnjs/Makefile
index 0a23904e5cb7..938ee47a3e26 100644
--- a/devel/libnjs/Makefile
+++ b/devel/libnjs/Makefile
@@ -1,5 +1,6 @@
PORTNAME= libnjs
DISTVERSION= 0.8.2
+PORTREVISION= 1
CATEGORIES= devel www
MAINTAINER= osa@FreeBSD.org
diff --git a/devel/libnjs/files/patch-auto_make b/devel/libnjs/files/patch-auto_make
index 5a7b66d1ad47..e3b74fc7b1cc 100644
--- a/devel/libnjs/files/patch-auto_make
+++ b/devel/libnjs/files/patch-auto_make
@@ -1,6 +1,17 @@
---- auto/make.orig 2023-07-11 23:27:41 UTC
+--- auto/make.orig 2023-10-24 04:42:29 UTC
+++ auto/make
-@@ -320,9 +320,7 @@ cat << END >> $NJS_MAKEFILE
+@@ -85,8 +85,9 @@ do
+ cat << END >> $NJS_MAKEFILE
+
+ $NJS_BUILD_DIR/$njs_obj: $njs_src
+- \$(NJS_CC) -c \$(NJS_CFLAGS) $NJS_LIB_AUX_CFLAGS \\
++ \$(NJS_CC) -c \$(NJS_CFLAGS) \\
+ \$(NJS_LIB_INCS) -Injs \\
++ $NJS_LIB_AUX_CFLAGS \\
+ -o $NJS_BUILD_DIR/$njs_obj \\
+ $njs_dep_flags \\
+ $njs_src
+@@ -320,9 +321,7 @@ cat << END >> $NJS_MAKEFILE
pc: $NJS_BUILD_DIR/njs.pc
$NJS_BUILD_DIR/njs.pc: $NJS_BUILD_DIR/njs_auto_config.h