diff options
author | rillig <rillig@pkgsrc.org> | 2007-02-22 07:25:43 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-02-22 07:25:43 +0000 |
commit | 2e95e61325ee62367e8269361401b2f05721746a (patch) | |
tree | 21c8e9b3d332bd7fd73472c811149fa2f0206807 /mk | |
parent | 024a2f2c7c78e84ed187fc1491bf7ef65cd449b7 (diff) | |
download | pkgsrc-2e95e61325ee62367e8269361401b2f05721746a.tar.gz |
Added the missing documentation that explains _why_ OBJHOSTNAME should
be set for locking. Based on the CVS log for bsd.pkg.mk 1.907.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/defaults/mk.conf | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/defaults/mk.conf b/mk/defaults/mk.conf index 4bf05427531..6499703472b 100644 --- a/mk/defaults/mk.conf +++ b/mk/defaults/mk.conf @@ -1,4 +1,4 @@ -# $NetBSD: mk.conf,v 1.150 2007/02/22 07:20:42 rillig Exp $ +# $NetBSD: mk.conf,v 1.151 2007/02/22 07:25:43 rillig Exp $ # # This file provides default values for variables that may be overridden @@ -84,6 +84,11 @@ PKGSRC_LOCKTYPE?= none # process, the current process will sleep for PKGSRC_SLEEPSECS # seconds and then try again. # +# You should also set OBJHOSTNAME when you are using the same +# copy of pkgsrc on different hosts, maybe via NFS. This is because +# the locking process writes its process ID into the lockfile, +# and process IDs on different hosts are unrelated. +# # See also: LOCALBASE_LOCKTYPE, WRKDIR_LOCKTYPE. # # Keywords: lock locking parallel |