pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/bulk If a package is already installed, bulk-instal...
details: https://anonhg.NetBSD.org/pkgsrc/rev/fc2876247088
branches: trunk
changeset: 529327:fc2876247088
user: rillig <rillig%pkgsrc.org@localhost>
date: Thu May 31 11:49:09 2007 +0000
description:
If a package is already installed, bulk-install should not try to build
it again.
diffstat:
mk/bulk/bsd.bulk-pkg.mk | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 7affd17d4518 -r fc2876247088 mk/bulk/bsd.bulk-pkg.mk
--- a/mk/bulk/bsd.bulk-pkg.mk Thu May 31 10:26:52 2007 +0000
+++ b/mk/bulk/bsd.bulk-pkg.mk Thu May 31 11:49:09 2007 +0000
@@ -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@localhost>
@@ -568,7 +568,8 @@
# 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 ; \
Home |
Main Index |
Thread Index |
Old Index