diff options
author | rillig <rillig@pkgsrc.org> | 2007-05-31 11:49:09 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-05-31 11:49:09 +0000 |
commit | be572cf6c12666e1610efb1fae99d946c94f9599 (patch) | |
tree | 1a45aa11506f40f7f602ce672ebb7d227d99c712 /mk/bulk | |
parent | b1c1f5639454cbc223f25f8a66b25d5d7b820f58 (diff) | |
download | pkgsrc-be572cf6c12666e1610efb1fae99d946c94f9599.tar.gz |
If a package is already installed, bulk-install should not try to build
it again.
Diffstat (limited to 'mk/bulk')
-rw-r--r-- | mk/bulk/bsd.bulk-pkg.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/bulk/bsd.bulk-pkg.mk b/mk/bulk/bsd.bulk-pkg.mk index a7589d42ae6..468facd5edc 100644 --- a/mk/bulk/bsd.bulk-pkg.mk +++ b/mk/bulk/bsd.bulk-pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.bulk-pkg.mk,v 1.142 2007/05/23 10:50:44 rillig Exp $ +# $NetBSD: bsd.bulk-pkg.mk,v 1.143 2007/05/31 11:49:09 rillig Exp $ # # Copyright (c) 1999, 2000 Hubert Feyrer <hubertf@NetBSD.org> @@ -568,7 +568,8 @@ bulk-package: # been modified and need rebuilding. .PHONY: bulk-install bulk-install: - @if [ `${RECURSIVE_MAKE} bulk-check-uptodate REF=${PKGFILE}` = 1 ]; then \ + ${RUN} if ${PKG_INFO} -qe ${PKGNAME} ; then exit 0; fi; \ + if [ `${RECURSIVE_MAKE} bulk-check-uptodate REF=${PKGFILE}` = 1 ]; then \ if ${PKG_INFO} -qe ${PKGNAME} ; then :; \ else \ ${DO} ${RECURSIVE_MAKE} install-depends ; \ |