diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-24 22:53:34 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-24 22:53:34 +0000 |
commit | 5eb3c784ff950142b9ffc13b2a61e50aeff310e4 (patch) | |
tree | 6e85c1dd199239b764aebeb9c0afdc61ed2f167c /mk/package/package.mk | |
parent | f2f638cca8f0018ba376bf288c57536107a6eda5 (diff) | |
download | pkgsrc-5eb3c784ff950142b9ffc13b2a61e50aeff310e4.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/package.mk')
-rw-r--r-- | mk/package/package.mk | 4 |
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} |