dev-lang/php: update the apache2 post-install notification about mod_php.
authorMichael Orlitzky <mjo@gentoo.org>
Thu, 7 Jan 2016 14:40:04 +0000 (09:40 -0500)
committerMichael Orlitzky <mjo@gentoo.org>
Thu, 7 Jan 2016 14:40:38 +0000 (09:40 -0500)
Newer versions of app-eselect/eselect-php require some apache
configuration changes. This configuration is mentioned in the
dev-lang/php pkg_postinst() phase, which isn't ideal, but is what it
is. Since php:7.0 requires the new eselect-php, the pkg_postinst() for
php:7.0 has been updated to reflect the configuration changes.

Thanks to Tomáš Mózes for pointing this out.

Gentoo-Bug: 552156

Package-Manager: portage-2.2.24

dev-lang/php/php-7.0.1.ebuild

index a085f970dcfd97b3682f7afb77ced18c15891868..76a0c13448f7b4ce14d955aa2ee59f6317ee4d80 100644 (file)
@@ -729,8 +729,8 @@ src_test() {
 pkg_postinst() {
        # Output some general info to the user
        if use apache2 ; then
-               APACHE2_MOD_DEFINE="PHP5"
-               APACHE2_MOD_CONF="70_mod_php5"  # Provided by app-eselect/eselect-php
+               APACHE2_MOD_DEFINE="PHP"
+               APACHE2_MOD_CONF="70_mod_php"  # Provided by app-eselect/eselect-php
                apache-module_pkg_postinst
        fi