Module Name: src
Committed By: tsutsui
Date: Wed Mar 25 09:50:21 UTC 2009
Modified Files:
src/distrib/cdrom: Makefile
Log Message:
Use ${TOOL_PAX} rather than tar(1) on the build host.
On some system tar(1) doesn't have --fast-read option.
To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/distrib/cdrom/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/distrib/cdrom/Makefile
diff -u src/distrib/cdrom/Makefile:1.45 src/distrib/cdrom/Makefile:1.46
--- src/distrib/cdrom/Makefile:1.45 Sun Mar 22 08:43:54 2009
+++ src/distrib/cdrom/Makefile Wed Mar 25 09:50:21 2009
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.45 2009/03/22 08:43:54 tsutsui Exp $
+# $NetBSD: Makefile,v 1.46 2009/03/25 09:50:21 tsutsui Exp $
#
# Consult "*.conf" for the configuration variables; this Makefile is typically
# not edited for basic configuration changes.
@@ -375,7 +375,7 @@
cp `pwd -P`/${>:S/,link$//} $@;; \
*.tgz,*) \
echo "Extracting: $> --> $...@..."; \
- tar --fast-read -xzf ${>:C/,.*$//} ${>:C/^.*,//} ; \
+ ${TOOL_PAX} -rnz -f ${>:C/,.*$//} ${>:C/^.*,//} ; \
cp ${>:C/^.*,//} $@; rm -rf ${>:C/^.*,//} ;; \
*.gz) echo "gunzip -c <$> >$@"; gunzip -c <$> >$@;; \
*) echo "Unknown archive method for $@"; false;; \