svn commit: r473756 - head/security/teleport

Sean Chittenden seanc at FreeBSD.org
Mon Jul 2 16:59:14 UTC 2018


Author: seanc
Date: Mon Jul  2 16:59:13 2018
New Revision: 473756
URL: https://svnweb.freebsd.org/changeset/ports/473756

Log:
  Optimize teleport build further and reuse the same sed invocation.
  
  Submitted by:	mat
  Approved by:	mat (mentor, implicit)
  Pointy hat:	seanc

Modified:
  head/security/teleport/Makefile

Modified: head/security/teleport/Makefile
==============================================================================
--- head/security/teleport/Makefile	Mon Jul  2 16:45:53 2018	(r473755)
+++ head/security/teleport/Makefile	Mon Jul  2 16:59:13 2018	(r473756)
@@ -45,9 +45,9 @@ post-extract:
 post-patch:
 	@${REINPLACE_CMD} -e 's|^GITREF=.*|GITREF=${GH_TAG_COMMIT}|' \
 		${WRKDIR}/${GO_TELEPORT_SRC_DIR}/version.mk
-	@${FIND} ${WRKDIR} -type f \
-		-exec ${SED} -i '' -e 's|\/var\/lib|/var/db|g' {} \; \
-		-exec ${SED} -i '' -e 's|\/usr\/bin\/hostname|/bin/hostname|g' {} \;
+	@${FIND} ${WRKDIR} -type f -exec ${SED} -i '' \
+		-e 's|\/var\/lib|/var/db|g' \
+		-e 's|\/usr\/bin\/hostname|/bin/hostname|g' {} \;
 
 do-build:
 	@cd ${WRKDIR}/${GO_TELEPORT_SRC_DIR} && \


More information about the svn-ports-all mailing list