pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/bulk nfs-pkgsrc friendliness change:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/89b298aa1592
branches:  trunk
changeset: 487242:89b298aa1592
user:      tv <tv%pkgsrc.org@localhost>
date:      Tue Jan 11 18:44:10 2005 +0000

description:
nfs-pkgsrc friendliness change:
Add a knob to relocate all the global bulk state files in one setting.
BULKFILESDIR; defaults to PKGSRCDIR as before.

diffstat:

 mk/bulk/bsd.bulk-pkg.mk |  21 +++++++++++++--------
 1 files changed, 13 insertions(+), 8 deletions(-)

diffs (68 lines):

diff -r 945eb29f9460 -r 89b298aa1592 mk/bulk/bsd.bulk-pkg.mk
--- a/mk/bulk/bsd.bulk-pkg.mk   Tue Jan 11 18:33:16 2005 +0000
+++ b/mk/bulk/bsd.bulk-pkg.mk   Tue Jan 11 18:44:10 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.bulk-pkg.mk,v 1.66 2004/11/23 19:44:02 jlam Exp $
+#      $NetBSD: bsd.bulk-pkg.mk,v 1.67 2005/01/11 18:44:10 tv Exp $
 
 #
 # Copyright (c) 1999, 2000 Hubert Feyrer <hubertf%NetBSD.org@localhost>
@@ -79,46 +79,51 @@
 # This file is where the log of the build goes
 BUILDLOG?=     .make${BULK_ID}
 
+# This is the directory in which bulk build global files should be kept.
+# It defaults to ${PKGSRCDIR}, but may be better suited to another directory
+# if pkgsrc is on a remote (e.g., nfs) filesystem.
+BULKFILESDIR?= ${PKGSRCDIR}
+
 # This is a top level file which lists the entire pkgsrc depends tree in the
 # format:
 # foo/bar devel/libfoo
 # meaning 'foo/bar' is requied to build 'devel/libfoo'
 # this is in the format needed by tsort(1)
-DEPENDSTREEFILE?=      ${PKGSRCDIR}/.dependstree${BULK_ID}
+DEPENDSTREEFILE?=      ${BULKFILESDIR}/.dependstree${BULK_ID}
 
 # This is a top level file which lists the entire pkgsrc depends tree in the
 # format:
 # foo/bar depends on: devel/libfoo devel/libbar devel/baz .....
 # ie, to build foo/bar we need devel/libfoo devel/libbar devel/baz ... installed
-DEPENDSFILE?=  ${PKGSRCDIR}/.depends${BULK_ID}
+DEPENDSFILE?=  ${BULKFILESDIR}/.depends${BULK_ID}
 
 # This is a top level file which lists the entire pkgsrc depends tree in the
 # format:
 # devel/libfoo is depended upon by: foo/bar graphics/gtkfoo ...
 # ie, to build foo/bar we need devel/libfoo to be installed.
 #     to build graphics/gtkfoo we need devel/libfoo to be installed
-SUPPORTSFILE?= ${PKGSRCDIR}/.supports${BULK_ID}
+SUPPORTSFILE?= ${BULKFILESDIR}/.supports${BULK_ID}
 
 # This is a top level file which cross-references each package name and pkg
 # directory in the format:
 # devel/libfoo libfoo-1.3
-INDEXFILE?=    ${PKGSRCDIR}/.index${BULK_ID}
+INDEXFILE?=    ${BULKFILESDIR}/.index${BULK_ID}
 
 # File containing a list of all the packages in the correct order for a bulk
 # build.  The correct order is one where packages that are required by others
 # are built before the packages which require them.
-ORDERFILE?=    ${PKGSRCDIR}/.order${BULK_ID}
+ORDERFILE?=    ${BULKFILESDIR}/.order${BULK_ID}
 
 # File which is used as a timestamp for when the build started.  This is used
 # eventually for looking for leftover files (files not properly deinstalled)
-STARTFILE?=    ${PKGSRCDIR}/.start${BULK_ID}
+STARTFILE?=    ${BULKFILESDIR}/.start${BULK_ID}
 
 # File which is used as a database for bulk builds in which SPECIFIC_PKGS is
 # defined.  This database is used to hold all the dependency and index
 # information for the specific packages as well as their dependencies.  In a
 # SPECIFIC_PKGS bulk build, this file is created and then used to create the
 # INDEXFILE and DEPENDSTREEFILE.
-BULK_DBFILE?=  ${PKGSRCDIR}/.bulk_db${BULK_ID}
+BULK_DBFILE?=  ${BULKFILESDIR}/.bulk_db${BULK_ID}
 
 # A list of pkgs which we should _never_ delete during a build.  The primary
 # use is for digest and also for xpkgwedge.  Add pkgtools/xpkgwedge in



Home | Main Index | Thread Index | Old Index