diff options
author | obache <obache@pkgsrc.org> | 2013-05-23 13:18:56 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2013-05-23 13:18:56 +0000 |
commit | b5433823fa6d77a488de91c699e7318607efca3c (patch) | |
tree | 2a7139982fd87ee948f76117e980cc35c4bc7d0e /mk/install/replace.mk | |
parent | 4771aecdbece16f7efbbbd84d767fb7953f379c6 (diff) | |
download | pkgsrc-b5433823fa6d77a488de91c699e7318607efca3c.tar.gz |
prevent to generate binary package in ${PACKAGES} from the side effect of
`install' with USE_DESTDIR=yes.
This changes prevent to unwanted overwite of existing binary packages with
test installation (`stage-install', `replace' & `undo-replace', and so on).
To do both `install' and `package', you can still use `package-install' target,
same as USE_DESTDIR=no.
Diffstat (limited to 'mk/install/replace.mk')
-rw-r--r-- | mk/install/replace.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/install/replace.mk b/mk/install/replace.mk index 5fecc4d96f9..41a1ab6c929 100644 --- a/mk/install/replace.mk +++ b/mk/install/replace.mk @@ -1,4 +1,4 @@ -# $NetBSD: replace.mk,v 1.14 2011/10/15 00:23:09 reed Exp $ +# $NetBSD: replace.mk,v 1.15 2013/05/23 13:18:56 obache Exp $ # # Public targets: # @@ -28,7 +28,7 @@ .if ${_USE_DESTDIR} == "no" _REPLACE_TARGETS+= ${_PKGSRC_BUILD_TARGETS} .else -_REPLACE_TARGETS+= package +_REPLACE_TARGETS+= stage-package-create .endif _REPLACE_TARGETS+= replace-message _REPLACE_TARGETS+= unprivileged-install-hook |