summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-05-17 22:11:14 +0000
committerjlam <jlam@pkgsrc.org>2005-05-17 22:11:14 +0000
commit0fb6ec04f1a27c68acf23ba2a4361bd3c1c30222 (patch)
tree1b9bedd4580d4a7d732257322bdec76d58352644
parent0088c080eca019c394663ad559960336bdbaecc7 (diff)
downloadpkgsrc-0fb6ec04f1a27c68acf23ba2a4361bd3c1c30222.tar.gz
_tar.gz is a recognized suffix, so recognize that we need the right tool
to untar the archive.
-rw-r--r--mk/bsd.pkg.extract.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/bsd.pkg.extract.mk b/mk/bsd.pkg.extract.mk
index 3777b30df64..8bffd10c7a8 100644
--- a/mk/bsd.pkg.extract.mk
+++ b/mk/bsd.pkg.extract.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.extract.mk,v 1.7 2005/05/17 21:34:29 jlam Exp $
+# $NetBSD: bsd.pkg.extract.mk,v 1.8 2005/05/17 22:11:14 jlam Exp $
#
# This Makefile fragment is included to bsd.pkg.mk and defines the
# relevant variables and targets for the "extract" phase.
@@ -52,7 +52,8 @@ _EXTRACT_SUFFIXES+= .rar
.if !empty(EXTRACT_ONLY:M*.tar) || !empty(EXTRACT_ONLY:M*.tar.*) || \
!empty(EXTRACT_SUFX:M*.tar) || !empty(EXTRACT_SUFX:M*.tar.*) || \
!empty(EXTRACT_ONLY:M*.tbz) || !empty(EXTRACT_ONLY:M*.tgz) || \
- !empty(EXTRACT_SUFX:M*.tbz) || !empty(EXTRACT_SUFX:M*.tgz)
+ !empty(EXTRACT_SUFX:M*.tbz) || !empty(EXTRACT_SUFX:M*.tgz) || \
+ !empty(EXTRACT_ONLY:M*_tar.gz) || !empty(EXTRACT_SUFX:M*_tar.gz)
. if !empty(EXTRACT_USING:Mgtar)
PKGSRC_USE_TOOLS+= gtar
. elif !empty(EXTRACT_USING:Mnbtar)