diff options
author | joerg <joerg> | 2009-06-09 08:40:27 +0000 |
---|---|---|
committer | joerg <joerg> | 2009-06-09 08:40:27 +0000 |
commit | 169c728d44c995d61736fb4405d7ff0f3a788338 (patch) | |
tree | a97e9ab4b2cc82fd7e37b1b33aef2abe2071284c /mk/package | |
parent | db4b5579830b35e567ba2176e6d073b57617f811 (diff) | |
download | pkgsrc-169c728d44c995d61736fb4405d7ff0f3a788338.tar.gz |
Add support for using USE_DESTDIR=yes and replace together.
Based on the patch send to tech-pkg in 2008, but less intrusive.
Diffstat (limited to 'mk/package')
-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 6a752acb600..c068db5357f 100644 --- a/mk/package/package.mk +++ b/mk/package/package.mk @@ -1,4 +1,4 @@ -# $NetBSD: package.mk,v 1.20 2009/03/17 22:13:36 rillig Exp $ +# $NetBSD: package.mk,v 1.21 2009/06/09 08:40:28 joerg Exp $ # # This file provides the code for the "package" phase. # @@ -13,7 +13,7 @@ # _PACKAGE_TARGETS+= check-vulnerable -.if make(replace) +.if make(replace) && ${_USE_DESTDIR} == "no" _PACKAGE_TARGETS+= replace .else _PACKAGE_TARGETS+= install |