diff options
author | schmonz <schmonz> | 2006-04-30 08:03:42 +0000 |
---|---|---|
committer | schmonz <schmonz> | 2006-04-30 08:03:42 +0000 |
commit | a0ef49e763d974ff9381e70e0ec6868c75eb3efe (patch) | |
tree | 5cd431a17879f2a64cbed9e79c31e7c6cad01ea9 /mail/qmail | |
parent | 9e69a19bc1eb9817910995cb2029687bdc82ead0 (diff) | |
download | pkgsrc-a0ef49e763d974ff9381e70e0ec6868c75eb3efe.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/Makefile | 5 |
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 |