Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Sep 2016 14:50:27 +0000 (UTC)
From:      "Carlos J. Puga Medina" <cpm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r421229 - head/misc/timediff
Message-ID:  <201609011450.u81EoR9G013864@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cpm
Date: Thu Sep  1 14:50:26 2016
New Revision: 421229
URL: https://svnweb.freebsd.org/changeset/ports/421229

Log:
  - Cosmetic fix
  
  Reported by:	mat

Modified:
  head/misc/timediff/Makefile

Modified: head/misc/timediff/Makefile
==============================================================================
--- head/misc/timediff/Makefile	Thu Sep  1 14:49:21 2016	(r421228)
+++ head/misc/timediff/Makefile	Thu Sep  1 14:50:26 2016	(r421229)
@@ -21,13 +21,11 @@ NO_ARCH=	yes
 NO_BUILD=	yes
 
 do-patch:
-.for file in timediff
-	${SED} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/${file} \
-	  > ${WRKDIR}/${file:T}
-.endfor
+	${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
+		${WRKSRC}/timediff
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKDIR}/timediff \
+	${INSTALL_SCRIPT} ${WRKSRC}/timediff \
 	    ${STAGEDIR}${PREFIX}/sbin
 
 .include <bsd.port.mk>



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