Date: Tue, 8 Dec 2015 18:36:25 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r403335 - head/devel/smake Message-ID: <201512081836.tB8IaPAr005617@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Tue Dec 8 18:36:25 2015 New Revision: 403335 URL: https://svnweb.freebsd.org/changeset/ports/403335 Log: - Fix for when CC contains slashes Modified: head/devel/smake/Makefile Modified: head/devel/smake/Makefile ============================================================================== --- head/devel/smake/Makefile Tue Dec 8 18:34:06 2015 (r403334) +++ head/devel/smake/Makefile Tue Dec 8 18:36:25 2015 (r403335) @@ -29,7 +29,7 @@ GCCRULE= ${WRKSRC}/RULES/cc-gcc.rul pre-build: @${CHMOD} +w ${MKLINKS} ${GCCRULE} - @${REINPLACE_CMD} -e 's/gcc$$/${CC}/' ${GCCRULE} + @${REINPLACE_CMD} -e 's|gcc$$|${CC}|' ${GCCRULE} @${ECHO_CMD} "\$$symlink i386-freebsd-cc.rul ${ARCH}-freebsd-${CC}.rul" >> ${MKLINKS} pre-install:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512081836.tB8IaPAr005617>