svn commit: r377696 - head/Mk/Scripts

Alexey Dokuchaev danfe at FreeBSD.org
Fri Jan 23 07:18:20 UTC 2015


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


More information about the svn-ports-all mailing list