svn commit: r550700 - head/Mk

Kyle Evans kevans at FreeBSD.org
Wed Sep 30 13:13:21 UTC 2020


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


More information about the svn-ports-head mailing list