diff options
author | tv <tv@pkgsrc.org> | 2004-04-16 14:27:38 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2004-04-16 14:27:38 +0000 |
commit | 309dbb72ad71eb66ce5c54a780e510dd5399b1c0 (patch) | |
tree | ef0a33ebfe6aaeba6631ff99817ab2402e00adf3 /mk | |
parent | f595afdb16131eaf3593f966202af2b3f462c149 (diff) | |
download | pkgsrc-309dbb72ad71eb66ce5c54a780e510dd5399b1c0.tar.gz |
Add another fix to previous; reverse the lines in the output. From
pkg_delete, recursion is depth-first, which is wrong for "make update".
Instead, make sure that "closer" dependencies are at the top of the file.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index d170ef7f3b7..a166207430c 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1443 2004/04/15 15:37:39 tv Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1444 2004/04/16 14:27:38 tv Exp $ # # This file is in the public domain. # @@ -3592,7 +3592,10 @@ ${DDIR}: ${DLIST} ${DLIST}: ${WRKDIR} ${_PKG_SILENT}${_PKG_DEBUG} \ - { ${PKG_DELETE} -n "${PKGWILDCARD}" 2>&1 | grep '^ ' || ${TRUE}; } > ${DLIST} + { ${PKG_DELETE} -n "${PKGWILDCARD}" 2>&1 | \ + grep '^ ' | \ + ${AWK} '{ l[NR]=$$0 } END { for (i=NR;i>0;--i) print l[i] }' \ + || ${TRUE}; } > ${DLIST} # The 'info' target can be used to display information about a package. .PHONY: info |