diff options
author | tv <tv@pkgsrc.org> | 2004-10-09 03:47:13 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2004-10-09 03:47:13 +0000 |
commit | af06ad46bd416d0912e2766e7bff869ccb021b51 (patch) | |
tree | 7e98c7e0be323b1709c3f070435ce10405a8b48e /mk | |
parent | ab25a403235b917dfd0eac4415039ced761cc87d (diff) | |
download | pkgsrc-af06ad46bd416d0912e2766e7bff869ccb021b51.tar.gz |
Add EXTRACT_ENV.bin, allowing things to be passed into the environment of
a ".bin" extraction (to be used shortly by lang/sun-jre15).
This isn't a generic EXTRACT_ENV, as the rest of the extraction tools don't
currently need such a knob. The most common use would be to set things in
the env of a binary-only distribution to make for silent or otherwise
twiddled package extraction.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 2f4da90b84f..bdadf726393 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1510 2004/10/07 02:01:38 jlam Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1511 2004/10/09 03:47:13 tv Exp $ # # This file is in the public domain. # @@ -1999,7 +1999,8 @@ EXTRACT_CMD.zoo?= ${LOCALBASE}/bin/unzoo ${EXTRACT_CMD_OPTS.zoo} $${extract_file EXTRACT_CMD_OPTS.zoo?= -x EXTRACT_CMD.rar?= ${LOCALBASE}/bin/unrar ${EXTRACT_CMD_OPTS.rar} $${extract_file} EXTRACT_CMD_OPTS.rar?= x -inul -EXTRACT_CMD.bin?= ${ECHO} yes | $${extract_file} ${EXTRACT_CMD_OPTS.bin} >/dev/null +EXTRACT_ENV.bin?= # empty +EXTRACT_CMD.bin?= ${ECHO} yes | ${SETENV} ${EXTRACT_ENV.bin} $${extract_file} ${EXTRACT_CMD_OPTS.bin} >/dev/null .for __suffix__ in .gz .bz2 .Z EXTRACT_CMD${__suffix__}?= ${DECOMPRESS_CMD${__suffix__}} $${extract_file} > `${BASENAME} $${extract_file} ${__suffix__}` |