aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornox <nox@FreeBSD.org>2007-02-10 05:08:02 +0800
committernox <nox@FreeBSD.org>2007-02-10 05:08:02 +0800
commit2e67d4ba0511b90fb43956e8d70097eb7dc596c3 (patch)
tree662bc899399cf2470744ce794811ff2a61a8c343
parent3f5694b80a1afed1209e5f9d590f7c7c6ab1aa75 (diff)
downloadfreebsd-ports-gnome-2e67d4ba0511b90fb43956e8d70097eb7dc596c3.tar.gz
freebsd-ports-gnome-2e67d4ba0511b90fb43956e8d70097eb7dc596c3.tar.zst
freebsd-ports-gnome-2e67d4ba0511b90fb43956e8d70097eb7dc596c3.zip
Fix build for slash-in-CFLAGS case.
Submitted by: Hisham Mardam Bey <hisham.mardambey@gmail.com> Approved by: miwi (mentor, implicit)
-rw-r--r--archivers/p7zip/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/archivers/p7zip/Makefile b/archivers/p7zip/Makefile
index c4eb7db1b02c..f8353c3e01a0 100644
--- a/archivers/p7zip/Makefile
+++ b/archivers/p7zip/Makefile
@@ -43,7 +43,7 @@ CFLAGS+= -fPIC
.endif
post-patch:
- ${SED} -e 's/-O/${CFLAGS} ${PTHREAD_CFLAGS}/' \
+ ${SED} -e 's!-O!${CFLAGS} ${PTHREAD_CFLAGS}!' \
-e 's!g\+\+!${CXX}!' \
-e 's!gcc!${CC}!' \
-e '/LITTLE_ENDIAN/d' \