diff options
author | schmonz <schmonz@pkgsrc.org> | 2004-09-01 00:10:58 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2004-09-01 00:10:58 +0000 |
commit | 0286643931c7679c5692db2cd465568d94bf3c76 (patch) | |
tree | d06fc052c2bb1a7bc3ce4247e39674b54163bab5 /mk/bsd.pkg.mk | |
parent | 6cae8a0300f6e4400874b6450506b31a0a6a8529 (diff) | |
download | pkgsrc-0286643931c7679c5692db2cd465568d94bf3c76.tar.gz |
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 (limited to 'mk/bsd.pkg.mk')
-rw-r--r-- | mk/bsd.pkg.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 6d66cddf783..daac132f8a9 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -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 @@ EXTRACT_SUFX?= .tar.gz # 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 |