diff options
author | reed <reed> | 2009-05-02 16:14:37 +0000 |
---|---|---|
committer | reed <reed> | 2009-05-02 16:14:37 +0000 |
commit | 6bf5eadad3574cdea69692e342a7bb451b7462fc (patch) | |
tree | b8e551d288115ca01aaeaa5aaeda4fb227e85ca5 /mk | |
parent | 3eb189fc576991c9e05838b939187c98ca7c236f (diff) | |
download | pkgsrc-6bf5eadad3574cdea69692e342a7bb451b7462fc.tar.gz |
Add new metadata: PREV_PKGPATH and SUPERSEDES.
These will be available from pkg_summary(5) database.
To be used to find previous packages when a package is moved
or renamed. (Even though that is not recommended.)
Documented in pkgsrc Guide and in the pkg_summary(5) manual page.
Upcoming commit will have some packages modified to add them.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/flavor/pkg/metadata.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mk/flavor/pkg/metadata.mk b/mk/flavor/pkg/metadata.mk index fb3ecc27c68..e295cde6677 100644 --- a/mk/flavor/pkg/metadata.mk +++ b/mk/flavor/pkg/metadata.mk @@ -1,4 +1,4 @@ -# $NetBSD: metadata.mk,v 1.30 2008/05/21 20:39:52 abs Exp $ +# $NetBSD: metadata.mk,v 1.31 2009/05/02 16:14:37 reed Exp $ ###################################################################### ### The targets below are all PRIVATE. @@ -47,6 +47,12 @@ ${_BUILD_INFO_FILE}: plist .if defined(OWNER) ${RUN}${ECHO} "OWNER=${OWNER}" >> ${.TARGET}.tmp .endif +.if defined(PREV_PKGPATH) + ${RUN}${ECHO} "PREV_PKGPATH=${PREV_PKGPATH}" >> ${.TARGET}.tmp +.endif +.if defined(SUPERSEDES) + ${RUN}${ECHO} "SUPERSEDES=${SUPERSEDES}" >> ${.TARGET}.tmp +.endif ${RUN}${ECHO} "BUILD_DATE=${_BUILD_DATE_cmd:sh}" >> ${.TARGET}.tmp ${RUN}${ECHO} "BUILD_HOST=${_BUILD_HOST_cmd:sh}" >> ${.TARGET}.tmp .if !empty(CHECK_SHLIBS_SUPPORTED:M[yY][eE][sS]) |