summaryrefslogtreecommitdiff
path: root/mk/bulk
diff options
context:
space:
mode:
authorgrant <grant>2004-07-25 08:40:46 +0000
committergrant <grant>2004-07-25 08:40:46 +0000
commit850de1d74529a68c215ae32ad9dc90799c5ace2a (patch)
tree4780ead8a50df1fa6ed43327dbd91f13cb0793b0 /mk/bulk
parent77ec3a63176f6acfcc01d04010422a1795dc13b1 (diff)
downloadpkgsrc-850de1d74529a68c215ae32ad9dc90799c5ace2a.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/bulk')
-rw-r--r--mk/bulk/bsd.bulk-pkg.mk4
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 \