aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2015-10-12 02:56:50 +0800
committerkwm <kwm@FreeBSD.org>2015-10-12 02:56:50 +0800
commit43e20a5bc73d1b2d0bfb1e197004f6463f4380c6 (patch)
treead2596af27f559928f926ae427d33223d10fed6c
parent8d20ee7fff03ccbc28a1a268c5f549c5af258f0f (diff)
downloadfreebsd-ports-gnome-43e20a5bc73d1b2d0bfb1e197004f6463f4380c6.tar.gz
freebsd-ports-gnome-43e20a5bc73d1b2d0bfb1e197004f6463f4380c6.tar.zst
freebsd-ports-gnome-43e20a5bc73d1b2d0bfb1e197004f6463f4380c6.zip
Improve the sed replace, so it doesn't clobber 2>&1 redirection.
Submitted by: Wolfgang Jenkner <wjenkner@inode.at>
-rw-r--r--graphics/libGL/Makefile.targets2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/libGL/Makefile.targets b/graphics/libGL/Makefile.targets
index 43dbc91e42dd..ed79b5d43e53 100644
--- a/graphics/libGL/Makefile.targets
+++ b/graphics/libGL/Makefile.targets
@@ -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' \