summaryrefslogtreecommitdiff
path: root/mk/pbulk
diff options
context:
space:
mode:
authorrillig <rillig>2007-09-07 15:51:53 +0000
committerrillig <rillig>2007-09-07 15:51:53 +0000
commit5129c41c2feba0d0678bbd27a2b2a6e6fc213349 (patch)
tree8b6cf0cc1f9ab482f8415ffdc5e4e02d4d6a1b4d /mk/pbulk
parentbe5c8e5be22b6a404082b5f3c3dc117a7dc16810 (diff)
downloadpkgsrc-5129c41c2feba0d0678bbd27a2b2a6e6fc213349.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}