summaryrefslogtreecommitdiff
path: root/mk/package
diff options
context:
space:
mode:
authorjoerg <joerg>2010-02-24 22:53:34 +0000
committerjoerg <joerg>2010-02-24 22:53:34 +0000
commitf2eea3453479680d019eba63091e77804184c4f1 (patch)
tree6e85c1dd199239b764aebeb9c0afdc61ed2f167c /mk/package
parent73dfb38f1ad5e79fedfa7deb7f739b9815c61304 (diff)
downloadpkgsrc-f2eea3453479680d019eba63091e77804184c4f1.tar.gz
Rename the install phase to stage-install. Introduce a new install
target that defaults to either stage-install or package-install, depending on whether DESTDIR support is active and supported by the package or not.
Diffstat (limited to 'mk/package')
-rw-r--r--mk/package/package.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/package/package.mk b/mk/package/package.mk
index c068db5357f..72e5de64082 100644
--- a/mk/package/package.mk
+++ b/mk/package/package.mk
@@ -1,4 +1,4 @@
-# $NetBSD: package.mk,v 1.21 2009/06/09 08:40:28 joerg Exp $
+# $NetBSD: package.mk,v 1.22 2010/02/24 22:53:34 joerg Exp $
#
# This file provides the code for the "package" phase.
#
@@ -16,7 +16,7 @@ _PACKAGE_TARGETS+= check-vulnerable
.if make(replace) && ${_USE_DESTDIR} == "no"
_PACKAGE_TARGETS+= replace
.else
-_PACKAGE_TARGETS+= install
+_PACKAGE_TARGETS+= stage-install
.endif
_PACKAGE_TARGETS+= acquire-package-lock
_PACKAGE_TARGETS+= ${_COOKIE.package}