Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Apr 2021 13:51:20 GMT
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 9d142bc1d25b - main - Replace ${ECHO} with ${ECHO_CMD}, ECHO builtin is cleared with ``make -s''
Message-ID:  <202104171351.13HDpKjo025937@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9d142bc1d25b9c7295d04cb114fc7e786941b2f0

commit 9d142bc1d25b9c7295d04cb114fc7e786941b2f0
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2021-04-17 13:49:36 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2021-04-17 13:50:00 +0000

    Replace ${ECHO} with ${ECHO_CMD}, ECHO builtin is cleared with ``make -s''
    
    PR:     253684
---
 math/openblas/Makefile | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/math/openblas/Makefile b/math/openblas/Makefile
index b0f6d01ec428..a4ae0eff94a7 100644
--- a/math/openblas/Makefile
+++ b/math/openblas/Makefile
@@ -92,32 +92,32 @@ post-extract:
 	${CP} ${LARGE_FILE} ${TIMING_FILE} ${WRKSRC}
 
 post-patch:
-	@${ECHO} MAKE_NB_JOBS=-1 >> ${WRKSRC}/Makefile.rule
-	@${ECHO} NUM_THREADS=${MAXTHREADS} >> ${WRKSRC}/Makefile.rule
-	@${ECHO} USE_THREAD=1 >> ${WRKSRC}/Makefile.rule
+	@${ECHO_CMD} MAKE_NB_JOBS=-1 >> ${WRKSRC}/Makefile.rule
+	@${ECHO_CMD} NUM_THREADS=${MAXTHREADS} >> ${WRKSRC}/Makefile.rule
+	@${ECHO_CMD} USE_THREAD=1 >> ${WRKSRC}/Makefile.rule
 .if ! ${PORT_OPTIONS:MAVX}
-	@${ECHO} NO_AVX=1 >> ${WRKSRC}/Makefile.rule
+	@${ECHO_CMD} NO_AVX=1 >> ${WRKSRC}/Makefile.rule
 .endif
 .if ! ${PORT_OPTIONS:MAVX2}
-	@${ECHO} NO_AVX2=1 >> ${WRKSRC}/Makefile.rule
+	@${ECHO_CMD} NO_AVX2=1 >> ${WRKSRC}/Makefile.rule
 .endif
 .if ${PORT_OPTIONS:MDYNAMIC_ARCH}
-	@${ECHO} DYNAMIC_ARCH=1 >> ${WRKSRC}/Makefile.rule
-	@${ECHO} DYNAMIC_OLDER=1 >> ${WRKSRC}/Makefile.rule
+	@${ECHO_CMD} DYNAMIC_ARCH=1 >> ${WRKSRC}/Makefile.rule
+	@${ECHO_CMD} DYNAMIC_OLDER=1 >> ${WRKSRC}/Makefile.rule
 .endif
 .if defined(TARGET_CPU_ARCH)
-	@${ECHO} TARGET=${TARGET_CPU_ARCH} >> ${WRKSRC}/Makefile.rule
+	@${ECHO_CMD} TARGET=${TARGET_CPU_ARCH} >> ${WRKSRC}/Makefile.rule
 .endif
 .if ${PORT_OPTIONS:MINTERFACE64}
-	@${ECHO} INTERFACE64=1 >> ${WRKSRC}/Makefile.rule
+	@${ECHO_CMD} INTERFACE64=1 >> ${WRKSRC}/Makefile.rule
 .endif
 .if ${PORT_OPTIONS:MOPENMP}
-	@${ECHO} USE_OPENMP=1 >> ${WRKSRC}/Makefile.rule
+	@${ECHO_CMD} USE_OPENMP=1 >> ${WRKSRC}/Makefile.rule
 .endif
 .if ${ARCH:M*64*} == ""
-	@${ECHO} BINARY=32 >> ${WRKSRC}/Makefile.rule
+	@${ECHO_CMD} BINARY=32 >> ${WRKSRC}/Makefile.rule
 .else
-	@${ECHO} BINARY=64 >> ${WRKSRC}/Makefile.rule
+	@${ECHO_CMD} BINARY=64 >> ${WRKSRC}/Makefile.rule
 .endif
 
 post-patch-OPENMP-on:



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