summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam>2005-05-15 03:57:21 +0000
committerjlam <jlam>2005-05-15 03:57:21 +0000
commitbfb42a3011620c7e9acabd2c5c476e532fc8787b (patch)
treef6e6988e640d327295d126a2ba30e04142424871
parent688c0c46f430d13c91db06f7cba55d5f0c8ccad7 (diff)
downloadpkgsrc-bfb42a3011620c7e9acabd2c5c476e532fc8787b.tar.gz
distfiles that end in .Z require gzcat as part of the extraction process.
-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 a1e12188120..067b289b01a 100644
--- a/mk/bsd.pkg.extract.mk
+++ b/mk/bsd.pkg.extract.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.extract.mk,v 1.2 2005/05/13 22:08:20 jlam Exp $
+# $NetBSD: bsd.pkg.extract.mk,v 1.3 2005/05/15 03:57:21 jlam Exp $
#
# This Makefile fragment is included to bsd.pkg.mk and defines the
# relevant variables and targets for the "extract" phase.
@@ -78,7 +78,8 @@ LHA= ${LOCALBASE}/bin/lha
. endif
.endif
.if !empty(EXTRACT_ONLY:M*.gz) || !empty(EXTRACT_ONLY:M*.tgz) || \
- !empty(EXTRACT_SUFX:M*.gz) || !empty(EXTRACT_SUFX:M*.tgz)
+ !empty(EXTRACT_SUFX:M*.gz) || !empty(EXTRACT_SUFX:M*.tgz) || \
+ !empty(EXTRACT_ONLY:M*.Z) || !empty(EXTRACT_SUFX:M*.Z)
. if !empty(_USE_NEW_TOOLS:M[yY][eE][sS])
PKGSRC_USE_TOOLS+= gzcat
. elif !defined(GZCAT)