summaryrefslogtreecommitdiff
path: root/mail/ezmlm-idx/Makefile
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/ezmlm-idx/Makefile
parentUse ${ECHO_CMD} instead of ${ECHO} where you mean the echo command; (diff)
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 '')
-rw-r--r--mail/ezmlm-idx/Makefile30
1 files changed, 15 insertions, 15 deletions
diff --git a/mail/ezmlm-idx/Makefile b/mail/ezmlm-idx/Makefile
index c2ae1614a81f..2887b0821790 100644
--- a/mail/ezmlm-idx/Makefile
+++ b/mail/ezmlm-idx/Makefile
@@ -82,21 +82,21 @@ pre-patch:
@cd ${WRKSRC} && ${PATCH} < idx.patch
post-patch:
- @${ECHO} ${PREFIX}/bin > ${WRKSRC}/conf-bin
- @${ECHO} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
- @${ECHO} ${CC} -s > ${WRKSRC}/conf-ld
+ @${ECHO_CMD} ${PREFIX}/bin > ${WRKSRC}/conf-bin
+ @${ECHO_CMD} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
+ @${ECHO_CMD} ${CC} -s > ${WRKSRC}/conf-ld
.if defined(WITH_MYSQL)
- @${ECHO} ${EXTRACT_INCLUDE} > ${WRKSRC}/sub_mysql/conf-sqlcc
- @${ECHO} ${EXTRACT_LIB} > ${WRKSRC}/sub_mysql/conf-sqlld
+ @${ECHO_CMD} ${EXTRACT_INCLUDE} > ${WRKSRC}/sub_mysql/conf-sqlcc
+ @${ECHO_CMD} ${EXTRACT_LIB} > ${WRKSRC}/sub_mysql/conf-sqlld
.elif defined(WITH_POSTGRESQL)
- @${ECHO} ${EXTRACT_INCLUDE} > ${WRKSRC}/sub_pgsql/conf-sqlcc
- @${ECHO} ${EXTRACT_LIB} > ${WRKSRC}/sub_pgsql/conf-sqlld
+ @${ECHO_CMD} ${EXTRACT_INCLUDE} > ${WRKSRC}/sub_pgsql/conf-sqlcc
+ @${ECHO_CMD} ${EXTRACT_LIB} > ${WRKSRC}/sub_pgsql/conf-sqlld
.endif
- @${ECHO} ${PREFIX}/man > ${WRKSRC}/conf-man
- @${ECHO} ${QMAIL_DIR} > ${WRKSRC}/conf-qmail
- @${ECHO} ${PREFIX} > ${WRKDIR}/.PPREFIX
- @${ECHO} ${QMAIL_DIR} >> ${WRKDIR}/.PPREFIX
- @${ECHO} ${NOPORTDOCS} ${WITH_MYSQL} ${WITH_POSTGRESQL}>> ${WRKDIR}/.PPREFIX
+ @${ECHO_CMD} ${PREFIX}/man > ${WRKSRC}/conf-man
+ @${ECHO_CMD} ${QMAIL_DIR} > ${WRKSRC}/conf-qmail
+ @${ECHO_CMD} ${PREFIX} > ${WRKDIR}/.PPREFIX
+ @${ECHO_CMD} ${QMAIL_DIR} >> ${WRKDIR}/.PPREFIX
+ @${ECHO_CMD} ${NOPORTDOCS} ${WITH_MYSQL} ${WITH_POSTGRESQL}>> ${WRKDIR}/.PPREFIX
@${MV} ${WRKSRC}/idx.h ${WRKSRC}/idx.h.orig
@${SED} -e 's#/etc/ezmlm/#'${PREFIX}'/etc/ezmlm/#' \
< ${WRKSRC}/idx.h.orig > ${WRKSRC}/idx.h
@@ -106,9 +106,9 @@ post-patch:
.endif
pre-install:
- @${ECHO} ${PREFIX} > ${WRKDIR}/.IPREFIX
- @${ECHO} ${QMAIL_DIR} >> ${WRKDIR}/.IPREFIX
- @${ECHO} ${NOPORTDOCS} ${WITH_MYSQL} ${WITH_POSTGRESQL}>> ${WRKDIR}/.IPREFIX
+ @${ECHO_CMD} ${PREFIX} > ${WRKDIR}/.IPREFIX
+ @${ECHO_CMD} ${QMAIL_DIR} >> ${WRKDIR}/.IPREFIX
+ @${ECHO_CMD} ${NOPORTDOCS} ${WITH_MYSQL} ${WITH_POSTGRESQL}>> ${WRKDIR}/.IPREFIX
@diff ${WRKDIR}/.[PI]PREFIX || (${ECHO} ${DIFF_MSG} && exit 1)
do-install: