Improve the sed replace, so it doesn't clobber 2>&1 redirection.

Submitted by:	Wolfgang Jenkner <wjenkner@inode.at>
This commit is contained in:
Koop Mast 2015-10-11 18:56:50 +00:00
parent 6651ce41f1
commit b0a30b4db3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=399100

View file

@ -5,7 +5,7 @@
post-patch:
# Sed on 9.x and dragonfly don't support \< or \>
@${REINPLACE_CMD} -e 's|-ffast-math|${FAST_MATH}|' -e 's|x86_64|amd64|' \
-e "/\>\/\// s|/-|/ -|; s|\\\>||" \
-e 's|\\>//|[[:>:]]//|' \
-e 's|python2 python|python2disabled pythondisabled|g' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' \