net-analyzer/pnp4nagios: change "-DPHP5" to "-DPHP" in pkg_postinst().
authorMichael Orlitzky <mjo@gentoo.org>
Thu, 2 Nov 2017 17:29:42 +0000 (13:29 -0400)
committerMichael Orlitzky <mjo@gentoo.org>
Sat, 4 Nov 2017 23:37:21 +0000 (19:37 -0400)
The apache "define" changed a while ago from "PHP5" to simply "PHP".
This commit fixes the latest revision, in place, to output the correct
instructions.

Package-Manager: Portage-2.3.8, Repoman-2.3.3

net-analyzer/pnp4nagios/pnp4nagios-0.6.26-r3.ebuild

index ce886f53738a100b0779a5957a85c363cd5658b8..75c54aacb9ba7bce55c17b904c429edcaf2d9cac 100644 (file)
@@ -92,7 +92,7 @@ src_install() {
 
 pkg_postinst() {
        elog "To enable the pnp4nagios web front-end, please visit"
-       elog "${EROOT%/}/etc/conf.d/apache2 and add \"-D PNP -D PHP5\""
+       elog "${EROOT%/}/etc/conf.d/apache2 and add \"-D PNP -D PHP\""
        elog "to APACHE2_OPTS. Then pnp4nagios will be available at,"
        elog
        elog "  http://localhost/pnp4nagios"