pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk There's no need to check for EXTRACT_SUFX when figu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/83937f4c828c
branches:  trunk
changeset: 493679:83937f4c828c
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu May 12 01:14:05 2005 +0000

description:
There's no need to check for EXTRACT_SUFX when figuring out whether we
need to use bzcat for patches.  bsd.pkg.extract.mk can figure out
independently whether bzcat is needed for distfiles.  This fixes
PR pkg/30206.

diffstat:

 mk/bsd.pkg.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 704ed7558849 -r 83937f4c828c mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Wed May 11 22:19:00 2005 +0000
+++ b/mk/bsd.pkg.mk     Thu May 12 01:14:05 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.pkg.mk,v 1.1639 2005/05/11 22:19:00 jlam Exp $
+#      $NetBSD: bsd.pkg.mk,v 1.1640 2005/05/12 01:14:05 jlam Exp $
 #
 # This file is in the public domain.
 #
@@ -556,7 +556,7 @@
 
 # We need bzip2 for PATCHFILES with .bz2 suffix.
 .if defined(PATCHFILES)
-.  if !empty(PATCHFILES:M*.bz2) && ${EXTRACT_SUFX} != ".tar.bz2"
+.  if !empty(PATCHFILES:M*.bz2)
 .    if !empty(_USE_NEW_TOOLS:M[yY][eE][sS])
 PKGSRC_USE_TOOLS+=     bzcat
 .    elif exists(/usr/bin/bzcat)



Home | Main Index | Thread Index | Old Index