diff options
author | jlam <jlam@pkgsrc.org> | 2006-07-07 21:24:27 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2006-07-07 21:24:27 +0000 |
commit | 356f5e8af5cd19e6a2a6e9b8be45b4a5bbf60a64 (patch) | |
tree | e3a14bcdd4dd231263dc051a36761d879732de89 /mk/bsd.pkg.barrier.mk | |
parent | 5980ce7bc529287f0cd63cf1260c5d8f0f090f1e (diff) | |
download | pkgsrc-356f5e8af5cd19e6a2a6e9b8be45b4a5bbf60a64.tar.gz |
Rename <phase>_COOKIE variables to _COOKIE.<phase>. These are private
variables so there are no user-visible changes. This change just makes
it a little easier to write for loops.
Diffstat (limited to 'mk/bsd.pkg.barrier.mk')
-rw-r--r-- | mk/bsd.pkg.barrier.mk | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mk/bsd.pkg.barrier.mk b/mk/bsd.pkg.barrier.mk index 3e302a3a6c2..35ac5bddb18 100644 --- a/mk/bsd.pkg.barrier.mk +++ b/mk/bsd.pkg.barrier.mk @@ -1,6 +1,6 @@ -# $NetBSD: bsd.pkg.barrier.mk,v 1.5 2006/07/06 22:17:57 jlam Exp $ +# $NetBSD: bsd.pkg.barrier.mk,v 1.6 2006/07/07 21:24:27 jlam Exp $ -_BARRIER_COOKIE= ${WRKDIR}/.barrier_cookie +_COOKIE.barrier= ${WRKDIR}/.barrier_cookie # _BARRIER_PRE_TARGETS is a list of the targets that must be built before # the "barrier" target invokes a new make. @@ -38,7 +38,7 @@ _BARRIER_CMDLINE_TARGETS+= ${_target_} ### target invokes a new make should be listed in _BARRIER_POST_TARGETS, ### and should be of the form: ### -### .if !exists(${_BARRIER_COOKIE}) +### .if !exists(${_COOKIE.barrier}) ### foo: barrier ### .else ### foo: foo's real source dependencies @@ -49,8 +49,8 @@ _BARRIER_CMDLINE_TARGETS+= ${_target_} ### .PHONY: barrier -barrier: ${_BARRIER_PRE_TARGETS} ${_BARRIER_COOKIE} -.if !exists(${_BARRIER_COOKIE}) +barrier: ${_BARRIER_PRE_TARGETS} ${_COOKIE.barrier} +.if !exists(${_COOKIE.barrier}) . if defined(PKG_VERBOSE) @${PHASE_MSG} "Invoking \`\`"${_BARRIER_CMDLINE_TARGETS:Q}"'' after barrier for ${PKGNAME}" . endif @@ -65,6 +65,6 @@ barrier: ${_BARRIER_PRE_TARGETS} ${_BARRIER_COOKIE} ###################################################################### ### barrier-cookie creates the "barrier" cookie file. ### -${_BARRIER_COOKIE}: +${_COOKIE.barrier}: ${_PKG_SILENT}${_PKG_DEBUG}${MKDIR} ${.TARGET:H} ${_PKG_SILENT}${_PKG_DEBUG}${ECHO} ${PKGNAME} > ${.TARGET} |