Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Feb 2015 23:34:23 +0000 (UTC)
From:      Diane Bruce <db@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r379197 - head/devel/zpu-gcc
Message-ID:  <201502172334.t1HNYNVF009997@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: db
Date: Tue Feb 17 23:34:23 2015
New Revision: 379197
URL: https://svnweb.freebsd.org/changeset/ports/379197
QAT: https://qat.redports.org/buildarchive/r379197/

Log:
  Support full path to cc and make for external toolchains
  
  PR:			ports/197650
  Submitted by:		sbruno

Modified:
  head/devel/zpu-gcc/Makefile

Modified: head/devel/zpu-gcc/Makefile
==============================================================================
--- head/devel/zpu-gcc/Makefile	Tue Feb 17 23:22:44 2015	(r379196)
+++ head/devel/zpu-gcc/Makefile	Tue Feb 17 23:34:23 2015	(r379197)
@@ -23,9 +23,9 @@ INFO=		zpuc/cpp zpuc/cppinternals zpuc/d
 		    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



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