Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jul 2018 16:59:13 +0000 (UTC)
From:      Sean Chittenden <seanc@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r473756 - head/security/teleport
Message-ID:  <201807021659.w62GxDgI031531@repo.freebsd.org>

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



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