summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.barrier.mk
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2013-05-23 13:18:56 +0000
committerobache <obache@pkgsrc.org>2013-05-23 13:18:56 +0000
commitb5433823fa6d77a488de91c699e7318607efca3c (patch)
tree2a7139982fd87ee948f76117e980cc35c4bc7d0e /mk/bsd.pkg.barrier.mk
parent4771aecdbece16f7efbbbd84d767fb7953f379c6 (diff)
downloadpkgsrc-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/bsd.pkg.barrier.mk')
-rw-r--r--mk/bsd.pkg.barrier.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/bsd.pkg.barrier.mk b/mk/bsd.pkg.barrier.mk
index d60b8377e26..a400865acef 100644
--- a/mk/bsd.pkg.barrier.mk
+++ b/mk/bsd.pkg.barrier.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.barrier.mk,v 1.18 2010/02/24 22:53:34 joerg Exp $
+# $NetBSD: bsd.pkg.barrier.mk,v 1.19 2013/05/23 13:18:56 obache Exp $
_COOKIE.barrier= ${WRKDIR}/.barrier_cookie
@@ -23,6 +23,7 @@ _BARRIER_POST_TARGETS+= build build-env
_BARRIER_POST_TARGETS+= test
_BARRIER_POST_TARGETS+= all
_BARRIER_POST_TARGETS+= stage-install
+_BARRIER_POST_TARGETS+= stage-package-create
_BARRIER_POST_TARGETS+= reinstall
_BARRIER_POST_TARGETS+= replace
_BARRIER_POST_TARGETS+= package