pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk/checksum



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed May 15 08:31:35 UTC 2024

Modified Files:
        pkgsrc/mk/checksum: checksum.mk

Log Message:
mk: make 'makesum' target also use the distinfo.filelist


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/mk/checksum/checksum.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/checksum/checksum.mk
diff -u pkgsrc/mk/checksum/checksum.mk:1.29 pkgsrc/mk/checksum/checksum.mk:1.30
--- pkgsrc/mk/checksum/checksum.mk:1.29 Mon May 13 08:10:28 2024
+++ pkgsrc/mk/checksum/checksum.mk      Wed May 15 08:31:35 2024
@@ -1,4 +1,4 @@
-# $NetBSD: checksum.mk,v 1.29 2024/05/13 08:10:28 wiz Exp $
+# $NetBSD: checksum.mk,v 1.30 2024/05/15 08:31:35 wiz Exp $
 #
 # See bsd.checksum.mk for helpful comments.
 #
@@ -90,10 +90,13 @@ distinfo:
        @rm ${_DISTINFO_INPUTFILE}
 
 makesum:
+.for file in ${_CKSUMFILES}
+       @${ECHO} ${file} >> ${_DISTINFO_INPUTFILE}
+.endfor
        ${RUN}set -e;                                                   \
        newfile=${DISTINFO_FILE}.$$$$;                                  \
        if ${_DISTINFO_CMD} ${_DISTINFO_ARGS_COMMON}                    \
-               ${_DISTINFO_ARGS_DISTSUM} > $$newfile;                  \
+               -I ${_DISTINFO_INPUTFILE} > $$newfile;                  \
        then                                                            \
                ${RM} -f $$newfile;                                     \
                ${ECHO_MSG} "=> distinfo: distfiles part unchanged.";   \
@@ -101,6 +104,7 @@ makesum:
                ${RM} -f ${DISTINFO_FILE};                              \
                ${MV} -f $$newfile ${DISTINFO_FILE};                    \
        fi
+       @rm ${_DISTINFO_INPUTFILE}
 
 makepatchsum:
        ${RUN}set -e;                                                   \



Home | Main Index | Thread Index | Old Index