From owner-svn-ports-head@FreeBSD.ORG Fri Jan 23 07:18:20 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1033) id C0EA1319; Fri, 23 Jan 2015 07:18:20 +0000 (UTC) Date: Fri, 23 Jan 2015 07:18:20 +0000 From: Alexey Dokuchaev To: Bryan Drewery Subject: Re: svn commit: r377696 - head/Mk/Scripts Message-ID: <20150123071820.GB70500@FreeBSD.org> References: <201501222105.t0ML5q3U010699@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201501222105.t0ML5q3U010699@svn.freebsd.org> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jan 2015 07:18:20 -0000 On Thu, Jan 22, 2015 at 09:05:52PM +0000, Bryan Drewery wrote: > New Revision: 377696 > URL: https://svnweb.freebsd.org/changeset/ports/377696 > QAT: https://qat.redports.org/buildarchive/r377696/ > > Log: > Don't replace PREFIX anywhere in the plist line, only do it for the > beginning. > [...] > - sed_files_gen="s!${PREFIX}/!!g; ${sed_plist_sub} \ > + sed_files_gen="s!^${PREFIX}/!!g; ${sed_plist_sub} \ So why global modifiers are being used? (TBH, they are being abused a lot in ports. It seems that folks just throw them in by default without giving it much thinking.) ./danfe