mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Use vertical bars (`|'') instead of comas (
`,'') for sed's replacements.
Comas can, actually, happen in CFLAGS...
This commit is contained in:
parent
8f1055cf07
commit
057d12819e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=121148
1 changed files with 9 additions and 9 deletions
|
@ -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' \
|
||||
|
|
Loading…
Add table
Reference in a new issue