summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2013-07-13 09:10:35 +0000
committerobache <obache@pkgsrc.org>2013-07-13 09:10:35 +0000
commita80225a446342bfe4e0e05b7eea8eb06cc1340c2 (patch)
treef5b2a13ec29e5eb08ffdfac01620592a0b231829 /mk
parenta1c9c124c890b2e8431d4f13a06cdce34e92d5c1 (diff)
downloadpkgsrc-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')
-rw-r--r--mk/pkgformat/pkg/metadata.mk4
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} | \