commit:     7c5156d908adf2da53846cf857ff2b039bf79078
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Thu Nov  2 17:29:42 2017 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sat Nov  4 23:37:21 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c5156d9

net-analyzer/pnp4nagios: change "-DPHP5" to "-DPHP" in pkg_postinst().

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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/pnp4nagios/pnp4nagios-0.6.26-r3.ebuild 
b/net-analyzer/pnp4nagios/pnp4nagios-0.6.26-r3.ebuild
index ce886f53738..75c54aacb9b 100644
--- a/net-analyzer/pnp4nagios/pnp4nagios-0.6.26-r3.ebuild
+++ b/net-analyzer/pnp4nagios/pnp4nagios-0.6.26-r3.ebuild
@@ -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";

Reply via email to