svn commit: r403335 - head/devel/smake
Dmitry Marakasov
amdmi3 at FreeBSD.org
Tue Dec 8 18:36:26 UTC 2015
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:
More information about the svn-ports-head
mailing list