summaryrefslogtreecommitdiff
path: root/mail/exim3
diff options
context:
space:
mode:
authorjlam <jlam>2005-04-28 22:46:11 +0000
committerjlam <jlam>2005-04-28 22:46:11 +0000
commitb0551feca25532909cd483741166a08e813914c6 (patch)
treeefe70ed28efffaedf58f2dd391106b484ea548c4 /mail/exim3
parent23e0107fd832dab32c6b2b63b895bdad4037c9e3 (diff)
downloadpkgsrc-b0551feca25532909cd483741166a08e813914c6.tar.gz
Pull out the first word of GZIP_CMD without using ${SED}.
Diffstat (limited to 'mail/exim3')
-rw-r--r--mail/exim3/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/mail/exim3/Makefile b/mail/exim3/Makefile
index 8c389ee35bf..cd8f59fe0f7 100644
--- a/mail/exim3/Makefile
+++ b/mail/exim3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2005/04/11 21:46:18 tv Exp $
+# $NetBSD: Makefile,v 1.18 2005/04/28 22:46:11 jlam Exp $
DISTNAME= exim-3.36
PKGREVISION= 4
@@ -35,8 +35,7 @@ PKG_GROUPS= ${EXIM_GROUP}
.include "../../mk/bsd.prefs.mk"
-_GZIP_CMD!= ${ECHO} ${GZIP_CMD} | ${SED} -e 's/ .*//'
-FILES_SUBST+= GZIP_CMD="${_GZIP_CMD}"
+FILES_SUBST+= GZIP_CMD="${GZIP_CMD:C/^/_asdf_/1:M_asdf_*:S/^_asdf_//}"
FILES_SUBST+= GZCAT="${GZCAT}"
_LOOKUP_LIBS+= ${LDFLAGS}