pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Allow tweaking of options to pax/tar via EXTRACT_CM...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7664c2722674
branches:  trunk
changeset: 493974:7664c2722674
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Tue May 17 21:34:29 2005 +0000

description:
Allow tweaking of options to pax/tar via EXTRACT_CMD_OPTS.*.

diffstat:

 mk/bsd.pkg.extract.mk |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (24 lines):

diff -r 0c2c0bfcf3be -r 7664c2722674 mk/bsd.pkg.extract.mk
--- a/mk/bsd.pkg.extract.mk     Tue May 17 20:56:51 2005 +0000
+++ b/mk/bsd.pkg.extract.mk     Tue May 17 21:34:29 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.extract.mk,v 1.6 2005/05/16 18:43:20 jlam Exp $
+# $NetBSD: bsd.pkg.extract.mk,v 1.7 2005/05/17 21:34:29 jlam Exp $
 #
 # This Makefile fragment is included to bsd.pkg.mk and defines the
 # relevant variables and targets for the "extract" phase.
@@ -176,11 +176,11 @@
 .for __suffix__ in ${_EXTRACT_SUFFIXES}
 .  if !defined(EXTRACT_CMD${__suffix__})
 .    if !empty(EXTRACT_USING:Mgtar)
-EXTRACT_CMD${__suffix__}?=     ${DECOMPRESS_CMD${__suffix__}} $${extract_file} | ${GTAR} -xf - ${EXTRACT_ELEMENTS}
+EXTRACT_CMD${__suffix__}?=     ${DECOMPRESS_CMD${__suffix__}} $${extract_file} | ${GTAR} ${EXTRACT_CMD_OPTS${__suffix__}} -xf - ${EXTRACT_ELEMENTS}
 .    elif !empty(EXTRACT_USING:Mnbtar)
-EXTRACT_CMD${__suffix__}?=     ${DECOMPRESS_CMD${__suffix__}} $${extract_file} | ${TAR} -xf - ${EXTRACT_ELEMENTS}
+EXTRACT_CMD${__suffix__}?=     ${DECOMPRESS_CMD${__suffix__}} $${extract_file} | ${TAR} ${EXTRACT_CMD_OPTS${__suffix__}} -xf - ${EXTRACT_ELEMENTS}
 .    else
-EXTRACT_CMD${__suffix__}?=     ${DECOMPRESS_CMD${__suffix__}} $${extract_file} | ${PAX} -O -r ${EXTRACT_ELEMENTS}
+EXTRACT_CMD${__suffix__}?=     ${DECOMPRESS_CMD${__suffix__}} $${extract_file} | ${PAX} ${EXTRACT_CMD_OPTS${__suffix__}} -O -r ${EXTRACT_ELEMENTS}
 .    endif
 .  endif
 .endfor



Home | Main Index | Thread Index | Old Index