pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/extract Fix EXTRACT_USING=gtar and simplify the oth...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3929692b2480
branches:  trunk
changeset: 536940:3929692b2480
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Dec 29 20:08:16 2007 +0000

description:
Fix EXTRACT_USING=gtar and simplify the other cases. TOOLS_GTAR was never
defined and therefore no argument was passed to the extract script.
This broke at least scmgit-docs on DragonFly.

diffstat:

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

diffs (24 lines):

diff -r ac662168ea78 -r 3929692b2480 mk/extract/extract.mk
--- a/mk/extract/extract.mk     Sat Dec 29 19:57:43 2007 +0000
+++ b/mk/extract/extract.mk     Sat Dec 29 20:08:16 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: extract.mk,v 1.21 2007/12/01 11:11:55 rillig Exp $
+# $NetBSD: extract.mk,v 1.22 2007/12/29 20:08:16 joerg Exp $
 #
 # The following variables may be set by the package Makefile and
 # specify how extraction happens:
@@ -176,11 +176,11 @@
 _EXTRACT_ENV+= ${EXTRACT_ENV}
 
 .if !empty(EXTRACT_USING:Mgtar)
-EXTRACT_OPTS+= ${TOOLS_GTAR:D  -t ${TOOLS_GTAR}}
+EXTRACT_OPTS+= -t ${TOOLS_PATH.gtar}
 .elif !empty(EXTRACT_USING:Mnbtar)
-EXTRACT_OPTS+= ${TOOLS_TAR:D   -t ${TOOLS_TAR}}
+EXTRACT_OPTS+= -t ${TOOLS_TAR}
 .else
-EXTRACT_OPTS+= ${TOOLS_PAX:D   -t ${TOOLS_PAX}}
+EXTRACT_OPTS+= -t ${TOOLS_PAX}
 .endif
 
 EXTRACT_CMD_DEFAULT=                                                   \



Home | Main Index | Thread Index | Old Index