pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mk/pbulk
Module Name: pkgsrc
Committed By: jperkin
Date: Mon Apr 25 10:59:23 UTC 2022
Modified Files:
pkgsrc/mk/pbulk: pbulk-index.mk
Log Message:
mk/pbulk: Support SCAN_DEPENDS_SKIP.
This is a list of paths that will be excluded from SCAN_DEPENDS. Most users
will not need this, it's only really useful if you happen to use shared files
included by your mk.conf that may be touched even though there was no change
made to affect dependencies.
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/mk/pbulk/pbulk-index.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/mk/pbulk/pbulk-index.mk
diff -u pkgsrc/mk/pbulk/pbulk-index.mk:1.25 pkgsrc/mk/pbulk/pbulk-index.mk:1.26
--- pkgsrc/mk/pbulk/pbulk-index.mk:1.25 Mon Jan 13 22:08:33 2020
+++ pkgsrc/mk/pbulk/pbulk-index.mk Mon Apr 25 10:59:23 2022
@@ -1,4 +1,4 @@
-# $NetBSD: pbulk-index.mk,v 1.25 2020/01/13 22:08:33 joerg Exp $
+# $NetBSD: pbulk-index.mk,v 1.26 2022/04/25 10:59:23 jperkin Exp $
# This Makefile fragment is included by bsd.pkg.mk and provides all
# variables and targets related to the parallel bulk build
@@ -99,10 +99,16 @@ pbulk-index:
${_PBULK_MULTI_NEEDED:@._t.@;done@}
.endif
-.if defined(PBULK_CACHE_DIRECTORY)
-_PBULK_SCAN_DEPENDS= ${.MAKE.MAKEFILES:N${PBULK_CACHE_DIRECTORY}/*}
-.else
_PBULK_SCAN_DEPENDS= ${.MAKE.MAKEFILES}
+
+.if defined(PBULK_CACHE_DIRECTORY)
+_PBULK_SCAN_DEPENDS:= ${_PBULK_SCAN_DEPENDS:N${PBULK_CACHE_DIRECTORY}/*}
+.endif
+
+.if defined(SCAN_DEPENDS_SKIP)
+. for _dir_ in ${SCAN_DEPENDS_SKIP}
+_PBULK_SCAN_DEPENDS:= ${_PBULK_SCAN_DEPENDS:N${_dir_}}
+. endfor
.endif
pbulk-index-item:
Home |
Main Index |
Thread Index |
Old Index