pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/qmail expr is only needed as a tool if QMAIL_QUEU...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5c220088d4a5
branches:  trunk
changeset: 512055:5c220088d4a5
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Sun Apr 30 08:03:42 2006 +0000

description:
expr is only needed as a tool if QMAIL_QUEUE_EXTRA is defined. No
functional change.

diffstat:

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

diffs (26 lines):

diff -r b03bf1a94354 -r 5c220088d4a5 mail/qmail/Makefile
--- a/mail/qmail/Makefile       Sun Apr 30 06:51:14 2006 +0000
+++ b/mail/qmail/Makefile       Sun Apr 30 08:03:42 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.48 2006/04/29 04:53:17 schmonz Exp $
+# $NetBSD: Makefile,v 1.49 2006/04/30 08:03:42 schmonz Exp $
 #
 
 DISTNAME=              netqmail-1.05
@@ -24,7 +24,7 @@
 WRKSRC=                        ${WRKDIR}/${PKGNAME_NOREV}
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
-USE_TOOLS+=            expr nroff
+USE_TOOLS+=            nroff
 
 DJB_BUILD_TARGETS=     man
 
@@ -68,6 +68,7 @@
 .endif
 
 .if !empty(QMAIL_QUEUE_EXTRA)
+USE_TOOLS+=            expr
 QUEUE_EXTRA=           "T${QMAIL_QUEUE_EXTRA}\\0"
 QUEUE_EXTRALEN_cmd=    ${EXPR} `${ECHO_N} ${QMAIL_QUEUE_EXTRA} | ${WC} -c` + 2
 SUBST_CLASSES+=                logging



Home | Main Index | Thread Index | Old Index