summaryrefslogtreecommitdiff
path: root/mk/pbulk
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-09-07 15:51:53 +0000
committerrillig <rillig@pkgsrc.org>2007-09-07 15:51:53 +0000
commit91c415b938802e52fb98a78ae7757ac6247e8268 (patch)
tree8b6cf0cc1f9ab482f8415ffdc5e4e02d4d6a1b4d /mk/pbulk
parent0bb792fd1ca80d4c1730684fb071a35e957ebaeb (diff)
downloadpkgsrc-91c415b938802e52fb98a78ae7757ac6247e8268.tar.gz
The WRKDIR and PREFIX can be saved in the log directory when a package
doesn't build properly. These options are off by default since they require much disk space.
Diffstat (limited to 'mk/pbulk')
-rw-r--r--mk/pbulk/pbulk-index.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/pbulk/pbulk-index.mk b/mk/pbulk/pbulk-index.mk
index e128f13d09a..d6678c00fea 100644
--- a/mk/pbulk/pbulk-index.mk
+++ b/mk/pbulk/pbulk-index.mk
@@ -1,4 +1,4 @@
-# $NetBSD: pbulk-index.mk,v 1.2 2007/05/16 16:48:12 joerg Exp $
+# $NetBSD: pbulk-index.mk,v 1.3 2007/09/07 15:51:53 rillig Exp $
# This Makefile fragment is included by bsd.pkg.mk and provides all
# variables and targets related to the parallel bulk build
@@ -99,3 +99,6 @@ pbulk-index-item:
.endfor
@printf "\n"
.endif
+
+pbulk-save-wrkdir:
+ ${PAX} -w -z -f ${INTO:Q} ${WRKDIR}