svn commit: r526580 - head/x11-toolkits/p5-Alien-wxWidgets

Kyle Evans kevans at FreeBSD.org
Thu Feb 20 18:58:19 UTC 2020


Author: kevans
Date: Thu Feb 20 18:58:18 2020
New Revision: 526580
URL: https://svnweb.freebsd.org/changeset/ports/526580

Log:
  x11-toolkits/p5-Alien-wxWidgets: remove extraneous escapes
  
  post-patch phase of this port uses sed to replace 'wx-config with
  '${WX_CONFIG:T}. Previously it escaped the ', but this is not necessary in
  this context.
  
  Remove the extraneous escape so that it doesn't get passed through to sed(1)
  as an escape of an ordinary character. This is important as the patch in bug
  #229925 will make such escapes an error to ease transition into a world
  where some escaped-ordinaries will be granted a special meaning.
  
  PR:		240450
  Approved by:	koobs (mentor), bapt (mentor)
  Approved by:	portmgr (maintainer timeout: 4 months)
  MFH:		2020Q1 (future build fix)
  Differential Revision:	https://reviews.freebsd.org/D23702

Modified:
  head/x11-toolkits/p5-Alien-wxWidgets/Makefile

Modified: head/x11-toolkits/p5-Alien-wxWidgets/Makefile
==============================================================================
--- head/x11-toolkits/p5-Alien-wxWidgets/Makefile	Thu Feb 20 18:56:02 2020	(r526579)
+++ head/x11-toolkits/p5-Alien-wxWidgets/Makefile	Thu Feb 20 18:58:18 2020	(r526580)
@@ -26,7 +26,7 @@ CONFIGURE_ARGS=	--wxWidgets-build=0 --wxWidgets-unicod
 
 post-patch:
 	@${REINPLACE_CMD} -e 's/wx-config/${WX_CONFIG:T}/' ${WRKSRC}/Build.PL
-	@${REINPLACE_CMD} -e "s/\'wx-config/\'${WX_CONFIG:T}/" -e "s/lc_r/lpthread/" \
+	@${REINPLACE_CMD} -e "s/'wx-config/'${WX_CONFIG:T}/" -e "s/lc_r/lpthread/" \
 		${WRKSRC}/inc/My/Build/Any_wx_config.pm
 
 post-install:


More information about the svn-ports-head mailing list