From 8248f236b6528da5635f2c5da19d4440c1910675 Mon Sep 17 00:00:00 2001 From: Mario Sergio Fujikawa Ferreira Date: Sun, 30 Jan 2005 12:23:53 +0000 Subject: 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 --- archivers/p7zip/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'archivers') diff --git a/archivers/p7zip/Makefile b/archivers/p7zip/Makefile index ce44b87f2ae5..0e698efdeca4 100644 --- a/archivers/p7zip/Makefile +++ b/archivers/p7zip/Makefile @@ -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 -- cgit v1.2.3