diff options
author | joerg <joerg> | 2009-06-09 08:40:27 +0000 |
---|---|---|
committer | joerg <joerg> | 2009-06-09 08:40:27 +0000 |
commit | 2fcfd4361fc15220882622049f64976f95311f39 (patch) | |
tree | a97e9ab4b2cc82fd7e37b1b33aef2abe2071284c /mk/package | |
parent | 6541f16cb4b11693521ae9dc7f3653c22434419d (diff) | |
download | pkgsrc-2fcfd4361fc15220882622049f64976f95311f39.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 |