pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk Replace the only occurrence of the :E modifier in b...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ee9e192284ee
branches:  trunk
changeset: 480180:ee9e192284ee
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Wed Sep 01 00:10:58 2004 +0000

description:
Replace the only occurrence of the :E modifier in bsd.pkg.mk with
a more familiar construction. BZCAT wasn't getting defined for a
bzip2-compressed patch in my tree; now it is.

diffstat:

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

diffs (18 lines):

diff -r a70a69e6a73f -r ee9e192284ee mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Wed Sep 01 00:01:59 2004 +0000
+++ b/mk/bsd.pkg.mk     Wed Sep 01 00:10:58 2004 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.pkg.mk,v 1.1494 2004/08/27 06:29:08 jlam Exp $
+#      $NetBSD: bsd.pkg.mk,v 1.1495 2004/09/01 00:10:58 schmonz Exp $
 #
 # This file is in the public domain.
 #
@@ -588,7 +588,7 @@
 
 # We need bzip2 for PATCHFILES with .bz2 suffix.
 .if defined(PATCHFILES)
-.  if ${PATCHFILES:E} == "bz2" && ${EXTRACT_SUFX} != ".tar.bz2"
+.  if !empty(PATCHFILES:M*.bz2) && ${EXTRACT_SUFX} != ".tar.bz2"
 .    if exists(/usr/bin/bzcat)
 BZCAT=                 /usr/bin/bzcat
 .    else



Home | Main Index | Thread Index | Old Index