diff options
author | rillig <rillig@pkgsrc.org> | 2007-02-22 07:20:41 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-02-22 07:20:41 +0000 |
commit | 322b451e1163aebd193c26b285a6093eb2bc7d0e (patch) | |
tree | a346a656fde89be0bdcf1478a64d7711899f6ac0 /mk/internal | |
parent | 6699eeb63aa2963db80fbedc28dac5d4f59825c7 (diff) | |
download | pkgsrc-322b451e1163aebd193c26b285a6093eb2bc7d0e.tar.gz |
Finished the split of PKGSRC_LOCKTYPE into LOCALBASE_LOCKTYPE and
WRKDIR_LOCKTYPE. Added more documentation.
Diffstat (limited to 'mk/internal')
-rw-r--r-- | mk/internal/locking.mk | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mk/internal/locking.mk b/mk/internal/locking.mk index dff0abe4b4d..6ee759fc5e3 100644 --- a/mk/internal/locking.mk +++ b/mk/internal/locking.mk @@ -1,4 +1,4 @@ -# $NetBSD: locking.mk,v 1.6 2007/02/20 22:11:10 rillig Exp $ +# $NetBSD: locking.mk,v 1.7 2007/02/22 07:20:42 rillig Exp $ # # User-settable variables: # @@ -16,6 +16,9 @@ # Default value: none # Recommended: sleep # +# See also: PKGSRC_LOCKTYPE. +# + # This file provides the following .USE targets: # # acquire-lock @@ -45,7 +48,7 @@ _LOCKVARS= WRKDIR_LOCKTYPE LOCALBASE_LOCKTYPE .for v in ${_LOCKVARS} _OK= no . for t in none once sleep -. if ${PKGSRC_LOCKTYPE} == "${t}" +. if ${${v}} == "${t}" _OK= yes . endif . endfor |