summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-07-06 22:17:57 +0000
committerjlam <jlam@pkgsrc.org>2006-07-06 22:17:57 +0000
commitfa692e401fcc6634af16607043515a2fca442a69 (patch)
tree0a3369a481a411e9d0a7b2617ba551bae6c7e283
parentee3796b4d4a9a85c83546addd7c31e835438d30d (diff)
downloadpkgsrc-fa692e401fcc6634af16607043515a2fca442a69.tar.gz
Remove an unnecessary target... ${_BARRIER_COOKIE} has no source targets
so it might as well be the target name.
-rw-r--r--mk/bsd.pkg.barrier.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/mk/bsd.pkg.barrier.mk b/mk/bsd.pkg.barrier.mk
index 54631f6645d..3e302a3a6c2 100644
--- a/mk/bsd.pkg.barrier.mk
+++ b/mk/bsd.pkg.barrier.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.barrier.mk,v 1.4 2006/07/06 22:08:32 jlam Exp $
+# $NetBSD: bsd.pkg.barrier.mk,v 1.5 2006/07/06 22:17:57 jlam Exp $
_BARRIER_COOKIE= ${WRKDIR}/.barrier_cookie
@@ -49,7 +49,7 @@ _BARRIER_CMDLINE_TARGETS+= ${_target_}
###
.PHONY: barrier
-barrier: ${_BARRIER_PRE_TARGETS} barrier-cookie
+barrier: ${_BARRIER_PRE_TARGETS} ${_BARRIER_COOKIE}
.if !exists(${_BARRIER_COOKIE})
. if defined(PKG_VERBOSE)
@${PHASE_MSG} "Invoking \`\`"${_BARRIER_CMDLINE_TARGETS:Q}"'' after barrier for ${PKGNAME}"
@@ -65,6 +65,6 @@ barrier: ${_BARRIER_PRE_TARGETS} barrier-cookie
######################################################################
### barrier-cookie creates the "barrier" cookie file.
###
-barrier-cookie:
- ${_PKG_SILENT}${_PKG_DEBUG}${MKDIR} ${_BARRIER_COOKIE:H}
- ${_PKG_SILENT}${_PKG_DEBUG}${ECHO} ${PKGNAME} > ${_BARRIER_COOKIE}
+${_BARRIER_COOKIE}:
+ ${_PKG_SILENT}${_PKG_DEBUG}${MKDIR} ${.TARGET:H}
+ ${_PKG_SILENT}${_PKG_DEBUG}${ECHO} ${PKGNAME} > ${.TARGET}