Use vertical bars (`|'') instead of comas (`,'') for sed's replacements.

Comas can, actually, happen in CFLAGS...
This commit is contained in:
Mikhail Teterin 2004-11-08 20:23:55 +00:00
parent 8f1055cf07
commit 057d12819e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=121148

View file

@ -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' \