diff options
author | obache <obache@pkgsrc.org> | 2013-07-13 09:10:35 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2013-07-13 09:10:35 +0000 |
commit | a80225a446342bfe4e0e05b7eea8eb06cc1340c2 (patch) | |
tree | f5b2a13ec29e5eb08ffdfac01620592a0b231829 /mk/pkgformat | |
parent | a1c9c124c890b2e8431d4f13a06cdce34e92d5c1 (diff) | |
download | pkgsrc-a80225a446342bfe4e0e05b7eea8eb06cc1340c2.tar.gz |
${_SIZE_PKG_FILE} only require ${PLIST}, so restrict dependency to it.
This change avoid to regeneration the file, it may cause pemission issue
with PKG_DESTDIR_SUPPORT=destdir.
Diffstat (limited to 'mk/pkgformat')
-rw-r--r-- | mk/pkgformat/pkg/metadata.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/pkgformat/pkg/metadata.mk b/mk/pkgformat/pkg/metadata.mk index 26c49111888..76e014757b0 100644 --- a/mk/pkgformat/pkg/metadata.mk +++ b/mk/pkgformat/pkg/metadata.mk @@ -1,4 +1,4 @@ -# $NetBSD: metadata.mk,v 1.5 2013/03/07 13:15:29 obache Exp $ +# $NetBSD: metadata.mk,v 1.6 2013/07/13 09:10:35 obache Exp $ ###################################################################### ### The targets below are all PRIVATE. @@ -293,7 +293,7 @@ ${_PRESERVE_FILE}: _SIZE_PKG_FILE= ${PKG_DB_TMPDIR}/+SIZE_PKG _METADATA_TARGETS+= ${_SIZE_PKG_FILE} -${_SIZE_PKG_FILE}: plist +${_SIZE_PKG_FILE}: ${PLIST} ${RUN}${MKDIR} ${.TARGET:H} ${RUN} \ ${CAT} ${PLIST} | \ |