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 | 55b4070a362c3dfb0cf628ffc1507ba8ba01e476 (patch) | |
tree | d06fc052c2bb1a7bc3ce4247e39674b54163bab5 /mk/bsd.pkg.mk | |
parent | adcc88d88d442a6f57d3b5906db13b5cab3850a0 (diff) | |
download | pkgsrc-55b4070a362c3dfb0cf628ffc1507ba8ba01e476.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 |