pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/tools Old versions of pax-as-tar don't do the right...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/75da169f0795
branches:  trunk
changeset: 493800:75da169f0795
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sun May 15 03:27:20 2005 +0000

description:
Old versions of pax-as-tar don't do the right thing when invoked as
"gtar".  Force the gtar in the tools directory to be a wrapper script
so that we invoke the (possibly) pax-as-tar as "tar".

diffstat:

 mk/tools/replace.mk |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 864d6225211a -r 75da169f0795 mk/tools/replace.mk
--- a/mk/tools/replace.mk       Sun May 15 03:13:10 2005 +0000
+++ b/mk/tools/replace.mk       Sun May 15 03:27:20 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: replace.mk,v 1.74 2005/05/14 21:38:18 jlam Exp $
+# $NetBSD: replace.mk,v 1.75 2005/05/15 03:27:20 jlam Exp $
 #
 # This Makefile fragment handles "replacements" of system-supplied
 # tools with pkgsrc versions.
@@ -450,6 +450,13 @@
 TOOLS_REAL_CMD.gtar=           ${TOOLS_PREFIX.gtar}/bin/${GNU_PROGRAM_PREFIX}tar
 TOOLS_${_TOOLS_VARNAME.gtar}=  ${TOOLS_REAL_CMD.gtar}
 .  endif
+#
+# The most likely situation is that "gtar" is pax-as-tar, and older
+# versions of it don't understand what to do if they're invoked as
+# "gtar".  Explicitly set TOOLS_REAL_CMDLINE.gtar to force a wrapper
+# script to be created.
+#
+TOOLS_REAL_CMDLINE.gtar?=      ${TOOLS_REAL_CMDLINE_DFLT.gtar}
 .endif
 
 .if !defined(TOOLS_IGNORE.gunzip) && !empty(_USE_TOOLS:Mgunzip)



Home | Main Index | Thread Index | Old Index