diff options
author | jlam <jlam> | 2005-05-15 03:27:20 +0000 |
---|---|---|
committer | jlam <jlam> | 2005-05-15 03:27:20 +0000 |
commit | 688c0c46f430d13c91db06f7cba55d5f0c8ccad7 (patch) | |
tree | f06169930ed285bee78c46b130fad9e8a935ab26 /mk | |
parent | f2d0c5c5c471c2c5ac8f935f0db9a36f7ca62066 (diff) | |
download | pkgsrc-688c0c46f430d13c91db06f7cba55d5f0c8ccad7.tar.gz |
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 (limited to 'mk')
-rw-r--r-- | mk/tools/replace.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/mk/tools/replace.mk b/mk/tools/replace.mk index 7d567da7d68..1c03fa5c027 100644 --- a/mk/tools/replace.mk +++ b/mk/tools/replace.mk @@ -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_FIND_PREFIX+= TOOLS_PREFIX.gtar=gtar-base 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) |