diff options
author | grant <grant> | 2004-07-25 08:40:46 +0000 |
---|---|---|
committer | grant <grant> | 2004-07-25 08:40:46 +0000 |
commit | 7b245f9c2ef918541e9f187e962283d930968ca3 (patch) | |
tree | 4780ead8a50df1fa6ed43327dbd91f13cb0793b0 /mk | |
parent | d93a664be33c1fe2519f0db8bc536129b09d0b45 (diff) | |
download | pkgsrc-7b245f9c2ef918541e9f187e962283d930968ca3.tar.gz |
correctly use PKG_SUFX instead of ".tgz".
this fixes a problem where bulk builds with PKG_SUFX=.tbz would
needlessly, repeatedly rebuild dependency packages because
${PKGNAME}.tgz did not exist.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bulk/bsd.bulk-pkg.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bulk/bsd.bulk-pkg.mk b/mk/bulk/bsd.bulk-pkg.mk index 425a1dfbf7d..31f39ca733c 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.61 2004/06/25 13:45:00 dmcmahill Exp $ +# $NetBSD: bsd.bulk-pkg.mk,v 1.62 2004/07/25 08:40:46 grant Exp $ # # Copyright (c) 1999, 2000 Hubert Feyrer <hubertf@NetBSD.org> @@ -323,7 +323,7 @@ bulk-package: for pkgdir in `${GREP} "^${PKGPATH} " ${DEPENDSFILE} | ${SED} -e 's;^.*:;;g'` ${BULK_PREREQ} ; do \ pkgname=`${GREP} "^$$pkgdir " ${INDEXFILE} | ${AWK} '{print $$2}'` ; \ if [ -z "$$pkgname" ]; then continue ; fi ;\ - pkgfile=${PACKAGES}/All/$${pkgname}.tgz ;\ + pkgfile=${PACKAGES}/All/$${pkgname}${PKG_SUFX} ;\ if ${PKG_INFO} -qe $$pkgname ; then \ ${ECHO_MSG} "BULK> Required package $$pkgname ($$pkgdir) is already installed" ; \ else \ |