Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Sep 2020 13:13:21 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r550700 - head/Mk
Message-ID:  <202009301313.08UDDLo9007003@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevans
Date: Wed Sep 30 13:13:21 2020
New Revision: 550700
URL: https://svnweb.freebsd.org/changeset/ports/550700

Log:
  bsd.port.mk: clarify intended usage of REINPLACE_ARGS
  
  This is a follow-up to mat clearing out invalid usage in r550694 -- the
  intention is only for the -i flag to be specified, and the framework can and
  does rely on this at times.
  
  Discussed with:	mat
  Approved by:	portmgr (mat)

Modified:
  head/Mk/bsd.port.mk

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Wed Sep 30 13:11:26 2020	(r550699)
+++ head/Mk/bsd.port.mk	Wed Sep 30 13:13:21 2020	(r550700)
@@ -2018,7 +2018,9 @@ CONFIGURE_ENV+=	LANG=${USE_LOCALE} LC_ALL=${USE_LOCALE
 MAKE_ENV+=		LANG=${USE_LOCALE} LC_ALL=${USE_LOCALE}
 .endif
 
-# Macro for doing in-place file editing using regexps
+# Macro for doing in-place file editing using regexps.  REINPLACE_ARGS may only
+# be used to set or override the -i argument.  Any other use is considered
+# invalid.
 REINPLACE_ARGS?=	-i.bak
 .if defined(DEVELOPER)
 REINPLACE_CMD?=	${SETENV} WRKSRC=${WRKSRC} REWARNFILE=${REWARNFILE} ${SCRIPTSDIR}/sed_checked.sh



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