1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Fix post-patch: sed(1) expression s/// cannot receive tokens with

/ in their composition which breaks C{C,XX} with path components
such as those used by users of devel/ccache, e.g.,
CC=/usr/local/libexec/ccache/cc

Approved by:	maintainer
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2005-01-30 12:23:53 +00:00
parent d0bf409604
commit 8248f236b6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=127698

View File

@ -42,8 +42,8 @@ IGNORE= requires wchar functions (mbrtowc(3) etc.) for compilation
post-patch:
${SED} -e 's/-O2/${CFLAGS} ${PTHREAD_CFLAGS}/' \
-e 's/g\+\+/${CXX}/' \
-e 's/gcc/${CC}/' \
-e 's!g\+\+!${CXX}!' \
-e 's!gcc!${CC}!' \
-e '/LITTLE_ENDIAN/d' \
-e 's/-lc_r/${PTHREAD_LIBS}/' \
${WRKSRC}/makefile.freebsd_x86 > ${WRKSRC}/makefile.machine