commit:     cd61e5bb9a7561bec1725ad24a45279d1ac75f02
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 19 20:40:07 2019 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sat Jan 19 21:06:18 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd61e5bb

net-analyzer/nagios-core: new revision to fix CGI install path.

Upstream commit 37da6f39c8 fixes an old bug in the build system, where
CGIDIR was set to @sbindir@ (rather than to @cgibindir@), and HTMLDIR
was set to @datarootdir@ (rather than to @webdir@). Now that the bug
is fixed, the ebuild has been revisioned to use the right configure flags:
we pass --with-cgibindir the old argument of --sbindir, and --with-webdir
the old argument of --datadir.

Thanks to Tomáš Mózes for the report and the fix.

Closes: https://bugs.gentoo.org/675872
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 .../{nagios-core-4.4.3.ebuild => nagios-core-4.4.3-r1.ebuild}       | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-analyzer/nagios-core/nagios-core-4.4.3.ebuild 
b/net-analyzer/nagios-core/nagios-core-4.4.3-r1.ebuild
similarity index 97%
rename from net-analyzer/nagios-core/nagios-core-4.4.3.ebuild
rename to net-analyzer/nagios-core/nagios-core-4.4.3-r1.ebuild
index d568d350d58..74ddb853c43 100644
--- a/net-analyzer/nagios-core/nagios-core-4.4.3.ebuild
+++ b/net-analyzer/nagios-core/nagios-core-4.4.3-r1.ebuild
@@ -96,11 +96,11 @@ src_configure() {
        econf ${myconf} \
                --prefix=/usr \
                --bindir=/usr/sbin \
-               --sbindir=/usr/$(get_libdir)/nagios/cgi-bin \
-               --datadir=/usr/share/nagios/htdocs \
                --localstatedir=/var/nagios \
                --sysconfdir=/etc/nagios \
-               --libexecdir=/usr/$(get_libdir)/nagios/plugins
+               --libexecdir=/usr/$(get_libdir)/nagios/plugins \
+               --with-cgibindir=/usr/$(get_libdir)/nagios/cgi-bin \
+               --with-webdir=/usr/share/nagios/htdocs
 }
 
 src_compile() {

Reply via email to