commit:     48c0881d8fd0646146890c23741634924cf15eba
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Thu Dec  1 00:16:58 2022 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Thu Dec  1 00:18:34 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48c0881d

net-analyzer/nagios-plugins: another revision to fix a botched commit.

Somehow I managed to delete an important part of the ebuild in what
should have been a trivial revision during the last commit. Let's undo
that.

Bug: https://bugs.gentoo.org/883765
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 .../{nagios-plugins-2.4.2-r1.ebuild => nagios-plugins-2.4.2-r2.ebuild}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r1.ebuild 
b/net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r2.ebuild
similarity index 97%
rename from net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r1.ebuild
rename to net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r2.ebuild
index 87de58cd0bfc..8fe32f3ad69a 100644
--- a/net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r1.ebuild
+++ b/net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r2.ebuild
@@ -85,7 +85,7 @@ src_configure() {
        # The autodetection for these two commands can hang if localhost is
        # down or ICMP traffic is filtered (bug #468296). But also the path
        # likes to move around on us (bug #883765).
-       myconf+=( --with-ping-command=" -n -U -w %d -c %d %s" )
+       myconf+=( --with-ping-command="$(command -v ping) -n -U -w %d -c %d %s" 
)
 
        if use ipv6; then
                myconf+=( --with-ping6-command="$(command -v ping6) -n -U -w %d 
-c %d %s" )

Reply via email to