summaryrefslogtreecommitdiff
path: root/mk/pkginstall
diff options
context:
space:
mode:
authorjlam <jlam>2006-06-04 04:31:47 +0000
committerjlam <jlam>2006-06-04 04:31:47 +0000
commite1a6d0440751a9fab109732d8955496a08c48807 (patch)
treec2ed1a5484180edde9e6e79c6e1957c713ae361c /mk/pkginstall
parent3d5dc6864df8da8a244edaf3ca9cd8fb930df084 (diff)
downloadpkgsrc-e1a6d0440751a9fab109732d8955496a08c48807.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.mk8
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