summaryrefslogtreecommitdiff
path: root/mail/qmail
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2006-04-30 08:03:42 +0000
committerschmonz <schmonz@pkgsrc.org>2006-04-30 08:03:42 +0000
commit9d5c1f1fe267e66c88b2dc500b98fd50661a10a1 (patch)
tree5cd431a17879f2a64cbed9e79c31e7c6cad01ea9 /mail/qmail
parent7265e38de813982313471eb694d15a31669f7d79 (diff)
downloadpkgsrc-9d5c1f1fe267e66c88b2dc500b98fd50661a10a1.tar.gz
expr is only needed as a tool if QMAIL_QUEUE_EXTRA is defined. No
functional change.
Diffstat (limited to 'mail/qmail')
-rw-r--r--mail/qmail/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/qmail/Makefile b/mail/qmail/Makefile
index 3dd34621f63..6820672e299 100644
--- a/mail/qmail/Makefile
+++ b/mail/qmail/Makefile
@@ -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 @@ CONFLICTS+= pulsar<=0.1.1
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
PKG_INSTALLATION_TYPES= overwrite pkgviews
-USE_TOOLS+= expr nroff
+USE_TOOLS+= nroff
DJB_BUILD_TARGETS= man
@@ -68,6 +68,7 @@ PKG_FAIL_REASON+= "QMAIL_QUEUE_DIR must not be under ${QMAILDIR}"
.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