summaryrefslogtreecommitdiff
path: root/mail/qmail
diff options
context:
space:
mode:
Diffstat (limited to 'mail/qmail')
-rw-r--r--mail/qmail/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/qmail/Makefile b/mail/qmail/Makefile
index 195b196ffd5..851cbab8857 100644
--- a/mail/qmail/Makefile
+++ b/mail/qmail/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2005/04/11 21:46:23 tv Exp $
+# $NetBSD: Makefile,v 1.34 2005/04/30 15:06:58 jlam Exp $
#
DISTNAME= netqmail-1.05
@@ -81,11 +81,11 @@ PKG_FAIL_REASON+= "QMAIL_QUEUE_DIR must not be under ${QMAILDIR}"
.if !empty(QMAIL_QUEUE_EXTRA)
QUEUE_EXTRA= "T${QMAIL_QUEUE_EXTRA}\\0"
-QUEUE_EXTRALEN!= ${EXPR} `${ECHO} ${QUEUE_EXTRA} | ${WC} -c` - 2
+QUEUE_EXTRALEN_cmd= ${EXPR} `${ECHO} ${QUEUE_EXTRA} | ${WC} -c` - 2
SUBST_CLASSES+= logging
SUBST_STAGE.logging= do-configure
SUBST_FILES.logging= extra.h
-SUBST_SED.logging= -e 's|0|${QUEUE_EXTRALEN}|g'
+SUBST_SED.logging= -e 's|0|${QUEUE_EXTRALEN_cmd:sh}|g'
SUBST_SED.logging+= -e 's|""|${QUEUE_EXTRA}|g'
SUBST_MESSAGE.logging= "Setting QUEUE_EXTRA."
.endif