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 | f5187c29fefa0c2a10d3134e198056996c778e1f (patch) | |
tree | 2a7139982fd87ee948f76117e980cc35c4bc7d0e /mk/package | |
parent | 748da26f68644fdcf6eb0a2790efa5fda0c2c9a5 (diff) | |
download | pkgsrc-f5187c29fefa0c2a10d3134e198056996c778e1f.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/package')
-rw-r--r-- | mk/package/package.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/package/package.mk b/mk/package/package.mk index 947c4d0a2c6..0fe7781223f 100644 --- a/mk/package/package.mk +++ b/mk/package/package.mk @@ -1,4 +1,4 @@ -# $NetBSD: package.mk,v 1.23 2011/10/15 00:23:09 reed Exp $ +# $NetBSD: package.mk,v 1.24 2013/05/23 13:18:56 obache Exp $ # # This file provides the code for the "package" phase. # @@ -17,6 +17,7 @@ _PACKAGE_TARGETS+= check-vulnerable _PACKAGE_TARGETS+= replace .else _PACKAGE_TARGETS+= stage-install +_PACKAGE_TARGETS+= stage-package-create .endif _PACKAGE_TARGETS+= acquire-package-lock _PACKAGE_TARGETS+= ${_COOKIE.package} |