svn commit: r399100 - head/graphics/libGL

Koop Mast kwm at FreeBSD.org
Sun Oct 11 18:56:51 UTC 2015


Author: kwm
Date: Sun Oct 11 18:56:50 2015
New Revision: 399100
URL: https://svnweb.freebsd.org/changeset/ports/399100

Log:
  Improve the sed replace, so it doesn't clobber 2>&1 redirection.
  
  Submitted by:	Wolfgang Jenkner <wjenkner at inode.at>

Modified:
  head/graphics/libGL/Makefile.targets

Modified: head/graphics/libGL/Makefile.targets
==============================================================================
--- head/graphics/libGL/Makefile.targets	Sun Oct 11 18:48:14 2015	(r399099)
+++ head/graphics/libGL/Makefile.targets	Sun Oct 11 18:56:50 2015	(r399100)
@@ -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' \


More information about the svn-ports-head mailing list