diff options
author | Sergey A. Osokin <osa@FreeBSD.org> | 2023-10-26 15:54:54 +0000 |
---|---|---|
committer | Sergey A. Osokin <osa@FreeBSD.org> | 2023-10-26 15:56:18 +0000 |
commit | c2205ac0a162628b536c382c6b8dfd4ae86c4750 (patch) | |
tree | 6899de894c7794b3c19535f249cd2de46a769199 | |
parent | 1d32ad49af6f6c73a48f8afc9be8cf667691bdc7 (diff) |
devel/libnjs: change order for the include directories
The change helps to build package when its previous version is
installed.
Bump PORTREVISION.
-rw-r--r-- | devel/libnjs/Makefile | 1 | ||||
-rw-r--r-- | 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 |