pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/tools unzip uses UNZIP as a special environment var...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fcf1f322b614
branches:  trunk
changeset: 506750:fcf1f322b614
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sat Jan 21 14:40:31 2006 +0000

description:
unzip uses UNZIP as a special environment variable to denote the options
to pass to unzip.  While this is stupid, it's still the reality, so we
must not set UNZIP in the environment when calling unzip.  Rename "UNZIP"
to "UNZIP_CMD" to point to the path to the unzip binary.

diffstat:

 mk/tools/defaults.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r a0beec023189 -r fcf1f322b614 mk/tools/defaults.mk
--- a/mk/tools/defaults.mk      Sat Jan 21 14:37:35 2006 +0000
+++ b/mk/tools/defaults.mk      Sat Jan 21 14:40:31 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: defaults.mk,v 1.43 2006/01/08 23:00:00 jlam Exp $
+# $NetBSD: defaults.mk,v 1.44 2006/01/21 14:40:31 jlam Exp $
 #
 # Copyright (c) 2005 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -129,7 +129,7 @@
 _TOOLS_VARNAME.true=           TRUE
 _TOOLS_VARNAME.tsort=          TSORT
 _TOOLS_VARNAME.unrar=          UNRAR
-_TOOLS_VARNAME.unzip=          UNZIP
+_TOOLS_VARNAME.unzip=          UNZIP_CMD
 _TOOLS_VARNAME.unzoo=          UNZOO
 _TOOLS_VARNAME.wc=             WC
 _TOOLS_VARNAME.wish=           WISH



Home | Main Index | Thread Index | Old Index