Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Nov 2017 14:45:17 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r454689 - head/mail/postfix
Message-ID:  <201711221445.vAMEjH5U024303@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Wed Nov 22 14:45:17 2017
New Revision: 454689
URL: https://svnweb.freebsd.org/changeset/ports/454689

Log:
  mail/postfix: use ECHO_CMD instead of ECHO
  
  - When using "make -s install" the build can fail because the
    essential modifications to the port build are not made correctly.
    # make -s VECHO
    true
    # make -s VECHO_CMD
    echo
  
  PR:		222988
  Submitted by:	Franco Fichtner <franco@opnsense.org>
  Approved by:	ohauer (maintainer timeout)

Modified:
  head/mail/postfix/Makefile

Modified: head/mail/postfix/Makefile
==============================================================================
--- head/mail/postfix/Makefile	Wed Nov 22 13:34:18 2017	(r454688)
+++ head/mail/postfix/Makefile	Wed Nov 22 14:45:17 2017	(r454689)
@@ -280,7 +280,7 @@ pre-patch:
 	fi
 .endif
 
-	@${ECHO} '<HTML><BODY>See <A HREF="header_checks.5.html">header_checks.5.html</A></BODY></HTML>' \
+	@${ECHO_CMD} '<HTML><BODY>See <A HREF="header_checks.5.html">header_checks.5.html</A></BODY></HTML>' \
 		> ${WRKSRC}/html/body_checks.5.html
 	@${REINPLACE_CMD} -E -e 's!^(#define DEF_SGID_GROUP[^"]+)"postdrop"$$!\1"maildrop"!' \
 		${WRKSRC}/src/global/mail_params.h
@@ -290,12 +290,12 @@ pre-patch:
 
 post-patch:
 .for f in ${HTML1}
-	@${ECHO} '$$html_directory/$f:f:root:-:644' \
+	@${ECHO_CMD} '$$html_directory/$f:f:root:-:644' \
 		>> ${WRKSRC}/conf/postfix-files
 .endfor
-	@${ECHO} '$$manpage_directory/man1/posttls-finger.1:f:root:-:644' \
+	@${ECHO_CMD} '$$manpage_directory/man1/posttls-finger.1:f:root:-:644' \
 		>> ${WRKSRC}/conf/postfix-files
-	@${ECHO} '$$command_directory/posttls-finger:f:root:-:755' \
+	@${ECHO_CMD} '$$command_directory/posttls-finger:f:root:-:755' \
 		>> ${WRKSRC}/conf/postfix-files
 
 do-configure:
@@ -305,7 +305,7 @@ do-configure:
 	dynamicmaps=yes \
 	${POSTFIX_DYN_AUXLIBS} \
 	AUXLIBS="${POSTFIX_AUXLIBS}" && \
-	${ECHO} "all: default" >> Makefile)
+	${ECHO_CMD} "all: default" >> Makefile)
 
 pre-install-INST_BASE-on:
 	${MKDIR} ${STAGEDIR}/etc/rc.d



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711221445.vAMEjH5U024303>