From 057d12819e3fe937d9d1f8d2abf203f11b4897ec Mon Sep 17 00:00:00 2001 From: Mikhail Teterin Date: Mon, 8 Nov 2004 20:23:55 +0000 Subject: Use vertical bars (``|'') instead of comas (``,'') for sed's replacements. Comas can, actually, happen in CFLAGS... --- devel/qmake/Makefile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'devel/qmake/Makefile') 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' \ -- cgit v1.2.3