[Buildroot] [PATCH 3/6] php: enable opcache extension in php.ini if selected

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon May 18 20:53:50 UTC 2015


Floris,

On Mon, 18 May 2015 22:48:27 +0200, Floris Bos wrote:

> >> +	$(if $(BR2_PACKAGE_PHP_EXT_OPCACHE),
> >> +		$(SED) '/;extension=php_xsl.dll/azend_extension=opcache.so' \
> > Why are you replacing the extension=php_xsl.dll line specifically?
> 
> I am not.
> 
> "/a" means Append line after the range specified.
> Replacing would be done with the "s" from Substitute instead.

Ah, indeed, my bad. For some reason, I had in my mind that if you're
using sed, you must be replacing an existing line.

So, I'm fine with your proposal.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list