php-ext-source-r3.eclass: Introduce PHP_INI_NAME variable
authorBrian Evans <grknight@gentoo.org>
Fri, 26 Jan 2018 14:52:27 +0000 (09:52 -0500)
committerBrian Evans <grknight@gentoo.org>
Mon, 29 Jan 2018 13:47:12 +0000 (08:47 -0500)
commit2c3113fdedacb36b9b38482640ca6d14dd006438
treebbe1cd882c98d666fd23ccaee19328fefb8b4783
parent3c52686e73afe289f971bf0d1731ae5a09b6b9bf
php-ext-source-r3.eclass: Introduce PHP_INI_NAME variable

Currently php-ext-source-r3 saves the enabling ini file as
"${PHP_EXT_NAME}.ini".  This is problematic when foo module needs to be
loaded before bar module as things are read in directory order.

This patch introduces PHP_INI_NAME which defaults to PHP_EXT_NAME for
backwards-compatibility.

Bug: https://bugs.gentoo.org/586446
eclass/php-ext-source-r3.eclass