diff options
author | jlam <jlam@pkgsrc.org> | 2006-06-04 04:31:47 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2006-06-04 04:31:47 +0000 |
commit | 3604492fafbdf2246eeae3d276a527ff96e92d69 (patch) | |
tree | c2ed1a5484180edde9e6e79c6e1957c713ae361c /mk/pkginstall | |
parent | ce6246543cd0909c606073c9c01dc1ad95536a81 (diff) | |
download | pkgsrc-3604492fafbdf2246eeae3d276a527ff96e92d69.tar.gz |
Drop the use of _ACQUIRE_LOCK and _RELEASE_LOCK and replace with
acquire-lock and release-lock macro targets. Take advantage of using
a make target by breaking up the _ACQUIRE_LOCK script into smaller
pieces, and make better use of the *_MSG definitions for printing
messages within the acquire-lock and release-lock targets.
Diffstat (limited to 'mk/pkginstall')
-rw-r--r-- | mk/pkginstall/bsd.pkginstall.mk | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/mk/pkginstall/bsd.pkginstall.mk b/mk/pkginstall/bsd.pkginstall.mk index 31440d05ac3..251a1756492 100644 --- a/mk/pkginstall/bsd.pkginstall.mk +++ b/mk/pkginstall/bsd.pkginstall.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkginstall.mk,v 1.3 2006/06/04 00:39:05 jlam Exp $ +# $NetBSD: bsd.pkginstall.mk,v 1.4 2006/06/04 04:31:47 jlam Exp $ # # This Makefile fragment is included by bsd.pkg.mk and implements the # common INSTALL/DEINSTALL scripts framework. To use the pkginstall @@ -1007,10 +1007,8 @@ _PKGINSTALL_TARGETS+= release-pkginstall-lock pkginstall: ${_PKGINSTALL_TARGETS} .PHONY: acquire-pkginstall-lock release-pkginstall-lock -acquire-pkginstall-lock: - ${_ACQUIRE_LOCK} -release-pkginstall-lock: - ${_RELEASE_LOCK} +acquire-pkginstall-lock: acquire-lock +release-pkginstall-lock: release-lock .PHONY: real-pkginstall real-pkginstall: generate-rcd-scripts generate-install-scripts |