Use ${TOOL_PAX} rather than tar(1) on the build host.
On some system tar(1) doesn't have --fast-read option.
This commit is contained in:
parent
98864a3ee9
commit
edbc5d2a81
@ -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
|
# Consult "*.conf" for the configuration variables; this Makefile is typically
|
||||||
# not edited for basic configuration changes.
|
# not edited for basic configuration changes.
|
||||||
@ -375,7 +375,7 @@ USE-FILE: .USE
|
|||||||
cp `pwd -P`/${>:S/,link$//} $@;; \
|
cp `pwd -P`/${>:S/,link$//} $@;; \
|
||||||
*.tgz,*) \
|
*.tgz,*) \
|
||||||
echo "Extracting: $> --> $@..."; \
|
echo "Extracting: $> --> $@..."; \
|
||||||
tar --fast-read -xzf ${>:C/,.*$//} ${>:C/^.*,//} ; \
|
${TOOL_PAX} -rnz -f ${>:C/,.*$//} ${>:C/^.*,//} ; \
|
||||||
cp ${>:C/^.*,//} $@; rm -rf ${>:C/^.*,//} ;; \
|
cp ${>:C/^.*,//} $@; rm -rf ${>:C/^.*,//} ;; \
|
||||||
*.gz) echo "gunzip -c <$> >$@"; gunzip -c <$> >$@;; \
|
*.gz) echo "gunzip -c <$> >$@"; gunzip -c <$> >$@;; \
|
||||||
*) echo "Unknown archive method for $@"; false;; \
|
*) echo "Unknown archive method for $@"; false;; \
|
||||||
|
Loading…
Reference in New Issue
Block a user