pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/mk/pkgformat/pkg



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat Nov 21 18:59:54 UTC 2026

Modified Files:
        pkgsrc/mk/pkgformat/pkg: metadata.mk

Log Message:
mk: ignore TODO and COMMIT_MSG files when creating build-info file

This avoids rebuilds of wip packages when only the TODO or COMMIT_MSG
files have changed.

(There will be one more rebuild because any existing binary package still
includes information about those, but none after that.)


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 pkgsrc/mk/pkgformat/pkg/metadata.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/pkgformat/pkg/metadata.mk
diff -u pkgsrc/mk/pkgformat/pkg/metadata.mk:1.38 pkgsrc/mk/pkgformat/pkg/metadata.mk:1.39
--- pkgsrc/mk/pkgformat/pkg/metadata.mk:1.38    Fri Apr 10 08:41:35 2026
+++ pkgsrc/mk/pkgformat/pkg/metadata.mk Sat Nov 21 18:59:54 2026
@@ -1,4 +1,4 @@
-# $NetBSD: metadata.mk,v 1.38 2026/04/10 08:41:35 wiz Exp $
+# $NetBSD: metadata.mk,v 1.39 2026/11/21 18:59:54 wiz Exp $
 
 ######################################################################
 ### The targets below are all PRIVATE.
@@ -151,7 +151,11 @@ ${_BUILD_VERSION_FILE}:
                        esac;                                           \
                done;                                                   \
                for f in ${.CURDIR}/Makefile ${PKGDIR}/*; do            \
-                       [ -f "$$f" ] && ${ECHO} "$$f";                  \
+                       case "$$f" in                                   \
+                       */TODO) ;;                                      \
+                       */COMMIT_MSG) ;;                                \
+                       *) [ -f "$$f" ] && ${ECHO} "$$f";;              \
+                       esac;                                           \
                done;                                                   \
                if [ -f ${DISTINFO_FILE:Q} ]; then                      \
                        ${AWK} 'NF == 4 && $$3 == "=" {                 \



Home | Main Index | Thread Index | Old Index