diff options
author | kwm <kwm@FreeBSD.org> | 2015-10-12 02:56:50 +0800 |
---|---|---|
committer | kwm <kwm@FreeBSD.org> | 2015-10-12 02:56:50 +0800 |
commit | 43e20a5bc73d1b2d0bfb1e197004f6463f4380c6 (patch) | |
tree | ad2596af27f559928f926ae427d33223d10fed6c | |
parent | 8d20ee7fff03ccbc28a1a268c5f549c5af258f0f (diff) | |
download | freebsd-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.targets | 2 |
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' \ |