aboutsummaryrefslogtreecommitdiffstats
path: root/mail/smail
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-01-29 19:48:57 +0800
committerknu <knu@FreeBSD.org>2002-01-29 19:48:57 +0800
commit5b243306947e74184be0fc39cd0f0d1eb8063940 (patch)
treecea3c8a6099c3422b99712692a2c3e0e2964a6d2 /mail/smail
parentf6e00c6523a54ccae8d9221d4c43c1bebbe1592d (diff)
downloadfreebsd-ports-gnome-5b243306947e74184be0fc39cd0f0d1eb8063940.tar.gz
freebsd-ports-gnome-5b243306947e74184be0fc39cd0f0d1eb8063940.tar.zst
freebsd-ports-gnome-5b243306947e74184be0fc39cd0f0d1eb8063940.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.
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 \