aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/p7zip
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2005-01-30 20:23:53 +0800
committerlioux <lioux@FreeBSD.org>2005-01-30 20:23:53 +0800
commit0728e7b2eeadb0b4f806e42ea3014e81b90f57a9 (patch)
tree847570df78b5c30b56d55cd9928d9f056a6612e5 /archivers/p7zip
parent180832dc009e333d2d9bc4c794ec0480d5680dbc (diff)
downloadfreebsd-ports-gnome-0728e7b2eeadb0b4f806e42ea3014e81b90f57a9.tar.gz
freebsd-ports-gnome-0728e7b2eeadb0b4f806e42ea3014e81b90f57a9.tar.zst
freebsd-ports-gnome-0728e7b2eeadb0b4f806e42ea3014e81b90f57a9.zip
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
Diffstat (limited to 'archivers/p7zip')
-rw-r--r--archivers/p7zip/Makefile4
1 files changed, 2 insertions, 2 deletions
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