diff options
author | schmonz <schmonz@pkgsrc.org> | 2006-04-30 08:03:42 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2006-04-30 08:03:42 +0000 |
commit | 714ac72175db26bebfd93e86347d8ed81bf57b84 (patch) | |
tree | 5cd431a17879f2a64cbed9e79c31e7c6cad01ea9 /mail | |
parent | d06f186a0c08a33de9ca077da7b366d56bcdff80 (diff) | |
download | pkgsrc-714ac72175db26bebfd93e86347d8ed81bf57b84.tar.gz |
expr is only needed as a tool if QMAIL_QUEUE_EXTRA is defined. No
functional change.
Diffstat (limited to 'mail')
-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 |