aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2004-11-09 04:23:55 +0800
committermi <mi@FreeBSD.org>2004-11-09 04:23:55 +0800
commit5d12ca8b4cead1f9160416066ba8cfa2df825cfa (patch)
treea365f0ea90b6507f9e3945d900d960469bb450f1 /devel
parent3a6a1c5332173ab982471a36c632f25490496504 (diff)
downloadfreebsd-ports-gnome-5d12ca8b4cead1f9160416066ba8cfa2df825cfa.tar.gz
freebsd-ports-gnome-5d12ca8b4cead1f9160416066ba8cfa2df825cfa.tar.zst
freebsd-ports-gnome-5d12ca8b4cead1f9160416066ba8cfa2df825cfa.zip
Use vertical bars (``|'') instead of comas (``,'') for sed's replacements.
Comas can, actually, happen in CFLAGS...
Diffstat (limited to 'devel')
-rw-r--r--devel/qmake/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/devel/qmake/Makefile b/devel/qmake/Makefile
index 1975564333c0..bd9747f04073 100644
--- a/devel/qmake/Makefile
+++ b/devel/qmake/Makefile
@@ -45,16 +45,16 @@ post-install:
post-patch:
@${RM} -fr ${WRKSRC}/examples ${WRKSRC}/tutorial
- @${REINPLACE_CMD} -e 's,-O2,${CXXFLAGS},' \
- -e 's,gcc,${CC},' \
- -e 's,g++,${CXX},' \
- -e 's,/usr/local,${LOCALBASE},' \
- -e 's,/usr/X11R6,${X11BASE},' \
- -e 's,release,release thread,' \
- -e 's,-pthread -D_THREAD_SAFE,${PTHREAD_CFLAGS},' \
- -e 's,-pthread,${PTHREAD_LIBS},' \
+ @${REINPLACE_CMD} -e 's|-O2|${CXXFLAGS}|' \
+ -e 's|gcc|${CC}|' \
+ -e 's|g++|${CXX}|' \
+ -e 's|/usr/local|${LOCALBASE}|' \
+ -e 's|/usr/X11R6|${X11BASE}|' \
+ -e 's|release|release thread|' \
+ -e 's|-pthread -D_THREAD_SAFE|${PTHREAD_CFLAGS}|' \
+ -e 's|-pthread|${PTHREAD_LIBS}|' \
${WRKSRC}/../mkspecs/freebsd-g++/qmake.conf
- @${REINPLACE_CMD} -e 's,@QMAKE_QTOBJS@,,g' ${WRKSRC}/Makefile.unix
+ @${REINPLACE_CMD} -e 's|@QMAKE_QTOBJS@||g' ${WRKSRC}/Makefile.unix
do-configure:
${SED} -e 's|/usr/local|${PREFIX}|g' \