pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/exim3 Pull out the first word of GZIP_CMD without...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3a7d241280f0
branches:  trunk
changeset: 493177:3a7d241280f0
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu Apr 28 22:46:11 2005 +0000

description:
Pull out the first word of GZIP_CMD without using ${SED}.

diffstat:

 mail/exim3/Makefile |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r 1a9096fa764d -r 3a7d241280f0 mail/exim3/Makefile
--- a/mail/exim3/Makefile       Thu Apr 28 22:39:04 2005 +0000
+++ b/mail/exim3/Makefile       Thu Apr 28 22:46:11 2005 +0000
@@ -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 @@
 
 .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}



Home | Main Index | Thread Index | Old Index