summaryrefslogtreecommitdiffstats
path: root/mail/postfix1
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-01-29 11:48:57 +0000
committerknu <knu@FreeBSD.org>2002-01-29 11:48:57 +0000
commit5b243306947e74184be0fc39cd0f0d1eb8063940 (patch)
treecea3c8a6099c3422b99712692a2c3e0e2964a6d2 /mail/postfix1
parentf6e00c6523a54ccae8d9221d4c43c1bebbe1592d (diff)
downloadFreeBSD-ports-5b243306947e74184be0fc39cd0f0d1eb8063940.zip
FreeBSD-ports-5b243306947e74184be0fc39cd0f0d1eb8063940.tar.gz
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/postfix1')
-rw-r--r--mail/postfix1/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/mail/postfix1/Makefile b/mail/postfix1/Makefile
index 9a23d6b..0093acf 100644
--- a/mail/postfix1/Makefile
+++ b/mail/postfix1/Makefile
@@ -83,7 +83,7 @@ post-extract:
post-patch:
(cd ${WRKSRC} && ${MAKE} -f Makefile.init makefiles ${MAKEFILEFLAGS} \
CCARGS="${POSTFIX_CCARGS}" AUXLIBS="${POSTFIX_AUXLIBS}" && \
- ${ECHO} "all: default" >> Makefile)
+ ${ECHO_CMD} "all: default" >> Makefile)
pre-install:
@PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
@@ -170,14 +170,14 @@ replace:
.if ${OSVERSION} >= 400014
@${ECHO_MSG} "===> Activating postfix 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 Postfix sendmail program" >> /etc/mail/mailer.conf
- ${ECHO} ", named ${PREFIX}/sbin/sendmail" >> /etc/mail/mailer.conf
- ${ECHO} "#" >> /etc/mail/mailer.conf
- ${ECHO} "sendmail ${PREFIX}/sbin/sendmail" >> /etc/mail/mailer.conf
- ${ECHO} "send-mail ${PREFIX}/sbin/sendmail" >> /etc/mail/mailer.conf
- ${ECHO} "mailq ${PREFIX}/sbin/sendmail" >> /etc/mail/mailer.conf
- ${ECHO} "newaliases ${PREFIX}/sbin/sendmail" >> /etc/mail/mailer.conf
+ ${ECHO_CMD} "#" > /etc/mail/mailer.conf
+ ${ECHO_CMD} -n "# Execute the Postfix sendmail program" >> /etc/mail/mailer.conf
+ ${ECHO_CMD} ", named ${PREFIX}/sbin/sendmail" >> /etc/mail/mailer.conf
+ ${ECHO_CMD} "#" >> /etc/mail/mailer.conf
+ ${ECHO_CMD} "sendmail ${PREFIX}/sbin/sendmail" >> /etc/mail/mailer.conf
+ ${ECHO_CMD} "send-mail ${PREFIX}/sbin/sendmail" >> /etc/mail/mailer.conf
+ ${ECHO_CMD} "mailq ${PREFIX}/sbin/sendmail" >> /etc/mail/mailer.conf
+ ${ECHO_CMD} "newaliases ${PREFIX}/sbin/sendmail" >> /etc/mail/mailer.conf
.else
@${ECHO_MSG} "===> Replacing sendmail"
@if [ -e /usr/sbin/sendmail ]; then \
OpenPOWER on IntegriCloud