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/bsd.pkg.mk | |
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/bsd.pkg.mk')
-rw-r--r-- | mk/bsd.pkg.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 4d7bd911fab..686968565fd 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1907 2007/02/20 10:32:09 rillig Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1908 2007/02/22 07:20:41 rillig Exp $ # # This file is in the public domain. # @@ -590,7 +590,7 @@ makedirs: ${WRKDIR} ${WRKDIR}: .if !defined(KEEP_WRKDIR) -. if ${PKGSRC_LOCKTYPE} == "sleep" || ${PKGSRC_LOCKTYPE} == "once" +. if ${WRKDIR_LOCKTYPE} != "none" ${RUN} ${TEST} -f ${_WRKDIR_LOCKFILE} || ${RM} -fr ${WRKDIR} . endif .endif @@ -604,7 +604,7 @@ CREATE_WRKDIR_SYMLINK?= yes .if defined(WRKOBJDIR) && !empty(CREATE_WRKDIR_SYMLINK:M[Yy][Ee][Ss]) makedirs: ${.CURDIR}/${WRKDIR_BASENAME} ${.CURDIR}/${WRKDIR_BASENAME}: -. if ${PKGSRC_LOCKTYPE} == "sleep" || ${PKGSRC_LOCKTYPE} == "once" +. if ${WRKDIR_LOCKTYPE} != "none" ${RUN} ${TEST} -f ${_WRKDIR_LOCKFILE} || ${RM} -f ${.TARGET} . endif ${RUN} \ |