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:   jperkin
Date:           Tue Oct  1 13:01:02 UTC 2019

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

Log Message:
mk: Ensure only the first NetBSD rcsid is used.

There are a couple of places in pkgsrc where rcsid's are generated, and
these were leaking into "pkg_info -b" output.  This had the side effect of
causing those packages and all their dependencies to be rebuilt for every
bulk build as the output and the respective files always mis-matched.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 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.16 pkgsrc/mk/pkgformat/pkg/metadata.mk:1.17
--- pkgsrc/mk/pkgformat/pkg/metadata.mk:1.16    Tue May 28 13:32:06 2019
+++ pkgsrc/mk/pkgformat/pkg/metadata.mk Tue Oct  1 13:01:02 2019
@@ -1,4 +1,4 @@
-# $NetBSD: metadata.mk,v 1.16 2019/05/28 13:32:06 jperkin Exp $
+# $NetBSD: metadata.mk,v 1.17 2019/10/01 13:01:02 jperkin Exp $
 
 ######################################################################
 ### The targets below are all PRIVATE.
@@ -160,7 +160,7 @@ ${_BUILD_VERSION_FILE}:
        ${CAT} ${.TARGET}.tmp |                                         \
        while read file; do                                             \
                ${GREP} '\$$NetBSD' $$file 2>/dev/null |                \
-               ${SED} -e "s|^|$$file:|";                               \
+               ${SED} -e "s|^|$$file:|;q";                             \
        done |                                                          \
        ${AWK} '{ sub("^${PKGSRCDIR}/", "");                            \
                  sub(":.*[$$]NetBSD", ":       $$NetBSD");             \



Home | Main Index | Thread Index | Old Index