summaryrefslogtreecommitdiff
path: root/mk/internal
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-02-19 10:39:47 +0000
committerrillig <rillig@pkgsrc.org>2007-02-19 10:39:47 +0000
commit5f821d63e6143e8f6367579b6e51e626655d0d3f (patch)
tree44190fb435e252a34c34f22e26cf5b359b21f421 /mk/internal
parentfad42cf10bd3a4b18934684434cf25a34c913380 (diff)
downloadpkgsrc-5f821d63e6143e8f6367579b6e51e626655d0d3f.tar.gz
Why is OBJHOSTNAME needed for locking?
Diffstat (limited to 'mk/internal')
-rw-r--r--mk/internal/locking.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/internal/locking.mk b/mk/internal/locking.mk
index 60be86e605d..b530ba3efff 100644
--- a/mk/internal/locking.mk
+++ b/mk/internal/locking.mk
@@ -1,4 +1,4 @@
-# $NetBSD: locking.mk,v 1.4 2007/01/02 17:16:34 rillig Exp $
+# $NetBSD: locking.mk,v 1.5 2007/02/19 10:39:47 rillig Exp $
#
# This file provides the following .USE targets:
@@ -28,6 +28,7 @@ _LOCALBASE_LOCKFILE= ${LOCALBASE}/.lockfile
.elif ${PKGSRC_LOCKTYPE} == "once" || ${PKGSRC_LOCKTYPE} == "sleep"
. if !defined(OBJHOSTNAME)
PKG_FAIL_REASON+= "[locking.mk] PKGSRC_LOCKTYPE needs OBJHOSTNAME defined."
+# XXX: Why?
. endif
.else
PKG_FAIL_REASON+= "[locking.mk] PKGSRC_LOCKTYPE must be one of {none,once,sleep}, not ${PKGSRC_LOCKTYPE}."