From 7e8e8b24bf8b0733d4dc541898c3bbee5f9d2c39 Mon Sep 17 00:00:00 2001 From: rillig Date: Thu, 31 May 2007 11:49:09 +0000 Subject: If a package is already installed, bulk-install should not try to build it again. --- mk/bulk/bsd.bulk-pkg.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'mk/bulk') 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 @@ -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 ; \ -- cgit v1.2.3