aboutsummaryrefslogtreecommitdiff
path: root/mail/smail
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-01-29 11:48:57 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-01-29 11:48:57 +0000
commit897d06aa9731645e0a7fa7c315028dcdbfa3c798 (patch)
tree485cefa9621a788f5d27ac4dcab7fc6aa9843be6 /mail/smail
parentc982f5faf1c27ba011ef14e71aadc2182660d704 (diff)
downloadports-897d06aa9731645e0a7fa7c315028dcdbfa3c798.tar.gz
ports-897d06aa9731645e0a7fa7c315028dcdbfa3c798.zip
Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;
the ECHO macro is set to "echo" by default, but it is set to "true" if make(1) is invoked with the -s option while ECHO_CMD is always set to the echo command.
Notes
Notes: svn path=/head/; revision=53958
Diffstat (limited to 'mail/smail')
-rw-r--r--mail/smail/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/mail/smail/Makefile b/mail/smail/Makefile
index 5e0bf7e1bc53..20e3f5f1a7f5 100644
--- a/mail/smail/Makefile
+++ b/mail/smail/Makefile
@@ -41,14 +41,14 @@ replace:
.if ${OSVERSION} >= 400014
@${ECHO_MSG} "===> Activating smail in /etc/mail/mailer.conf"
${MV} -f /etc/mail/mailer.conf /etc/mail/mailer.conf.bak
- @${ECHO} "#" > /etc/mail/mailer.conf
- @${ECHO} -n "# Execute the smail sendmail program" >> /etc/mail/mailer.conf
- @${ECHO} ", named ${PREFIX}/bin/smail" >> /etc/mail/mailer.conf
- @${ECHO} "#" >> /etc/mail/mailer.conf
- @${ECHO} "sendmail ${PREFIX}/bin/smail" >> /etc/mail/mailer.conf
- @${ECHO} "send-mail ${PREFIX}/bin/smail" >> /etc/mail/mailer.conf
- @${ECHO} "mailq ${PREFIX}/bin/smail" >> /etc/mail/mailer.conf
- @${ECHO} "newaliases ${PREFIX}/bin/smail" >> /etc/mail/mailer.conf
+ @${ECHO_CMD} "#" > /etc/mail/mailer.conf
+ @${ECHO_CMD} -n "# Execute the smail sendmail program" >> /etc/mail/mailer.conf
+ @${ECHO_CMD} ", named ${PREFIX}/bin/smail" >> /etc/mail/mailer.conf
+ @${ECHO_CMD} "#" >> /etc/mail/mailer.conf
+ @${ECHO_CMD} "sendmail ${PREFIX}/bin/smail" >> /etc/mail/mailer.conf
+ @${ECHO_CMD} "send-mail ${PREFIX}/bin/smail" >> /etc/mail/mailer.conf
+ @${ECHO_CMD} "mailq ${PREFIX}/bin/smail" >> /etc/mail/mailer.conf
+ @${ECHO_CMD} "newaliases ${PREFIX}/bin/smail" >> /etc/mail/mailer.conf
.else
@${ECHO_MSG} "===> Replacing sendmail programs"
if [ -e /usr/sbin/sendmail ]; then \