pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/bulk correctly use PKG_SUFX instead of ".tgz".



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9afe2318436d
branches:  trunk
changeset: 478534:9afe2318436d
user:      grant <grant%pkgsrc.org@localhost>
date:      Sun Jul 25 08:40:46 2004 +0000

description:
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:

 mk/bulk/bsd.bulk-pkg.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r a3a3b45df944 -r 9afe2318436d mk/bulk/bsd.bulk-pkg.mk
--- a/mk/bulk/bsd.bulk-pkg.mk   Sun Jul 25 07:43:30 2004 +0000
+++ b/mk/bulk/bsd.bulk-pkg.mk   Sun Jul 25 08:40:46 2004 +0000
@@ -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@localhost>
@@ -323,7 +323,7 @@
                        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 \



Home | Main Index | Thread Index | Old Index