svn commit: r393531 - head/misc/upclient

Dmitry Marakasov amdmi3 at FreeBSD.org
Tue Aug 4 16:38:37 UTC 2015


Author: amdmi3
Date: Tue Aug  4 16:38:36 2015
New Revision: 393531
URL: https://svnweb.freebsd.org/changeset/ports/393531

Log:
  - Don't use / in sed regexps to allow paths, unbreaking cross-builds
  
  Approved by:	portmgr blanket

Modified:
  head/misc/upclient/Makefile

Modified: head/misc/upclient/Makefile
==============================================================================
--- head/misc/upclient/Makefile	Tue Aug  4 16:38:19 2015	(r393530)
+++ head/misc/upclient/Makefile	Tue Aug  4 16:38:36 2015	(r393531)
@@ -35,7 +35,7 @@ post-patch:
 	@${REINPLACE_CMD} ${REINPLACE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
 		${WRKSRC}/scripts/upchk ${WRKSRC}/scripts/clientchk \
 		${WRKSRC}/src/Makefile
-	@${REINPLACE_CMD} -e 's/CC=gcc/CC="${CC}"/g' \
+	@${REINPLACE_CMD} -e 's|CC=gcc|CC="${CC}"|g' \
 		${WRKSRC}/src/Makefile
 
 do-install:


More information about the svn-ports-head mailing list