From cde1c6b04104bfe4f6d4bc649648fefa97d4d174 Mon Sep 17 00:00:00 2001 From: Diane Bruce Date: Tue, 17 Feb 2015 23:34:23 +0000 Subject: [PATCH] Support full path to cc and make for external toolchains PR: ports/197650 Submitted by: sbruno --- devel/zpu-gcc/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devel/zpu-gcc/Makefile b/devel/zpu-gcc/Makefile index 557dd4813e0a..dffb3233c562 100644 --- a/devel/zpu-gcc/Makefile +++ b/devel/zpu-gcc/Makefile @@ -23,9 +23,9 @@ INFO= zpuc/cpp zpuc/cppinternals zpuc/dir zpuc/gcc zpuc/gccinstal \ zpuc/gccint post-patch: - @${REINPLACE_CMD} -e 's/%%CC%%/${CC}/' ${WRKSRC}/build.sh + @${REINPLACE_CMD} -e 's|%%CC%%|${CC}|' ${WRKSRC}/build.sh ${CP} ${FILESDIR}/install.sh ${WRKSRC} - @${REINPLACE_CMD} -e 's/%%MAKE_CMD%%/${MAKE_CMD}/' ${WRKSRC}/build.sh \ + @${REINPLACE_CMD} -e 's|%%MAKE_CMD%%|${MAKE_CMD}|' ${WRKSRC}/build.sh \ ${WRKSRC}/install.sh @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/build.sh @${REINPLACE_CMD} -e 's|%%DESTDIR%%|${STAGEDIR}|g' ${WRKSRC}/gcc/Makefile.in