summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig>2007-02-22 07:25:43 +0000
committerrillig <rillig>2007-02-22 07:25:43 +0000
commitf264014301ff8beee525ba47c7b568cc850e164a (patch)
tree21c8e9b3d332bd7fd73472c811149fa2f0206807
parent099eaba6ca3243fc801253b44ede82bd8054b2b1 (diff)
downloadpkgsrc-f264014301ff8beee525ba47c7b568cc850e164a.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.
-rw-r--r--mk/defaults/mk.conf7
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