Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Oct 2015 18:56:50 +0000 (UTC)
From:      Koop Mast <kwm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r399100 - head/graphics/libGL
Message-ID:  <201510111856.t9BIuoEP051660@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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' \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510111856.t9BIuoEP051660>