diff options
author | mat <mat@FreeBSD.org> | 2016-01-19 22:37:16 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2016-01-19 22:37:16 +0800 |
commit | 6f86e12c16093d6c61ce5fda77fa0213c03a5ab6 (patch) | |
tree | 1b2069d8f1e28973065d1c5eabc965ed8e2499cd /net-mgmt/nagios-plugins | |
parent | a49885c894b213022179580e1239b182bc4219c9 (diff) | |
download | freebsd-ports-gnome-6f86e12c16093d6c61ce5fda77fa0213c03a5ab6.tar.gz freebsd-ports-gnome-6f86e12c16093d6c61ce5fda77fa0213c03a5ab6.tar.zst freebsd-ports-gnome-6f86e12c16093d6c61ce5fda77fa0213c03a5ab6.zip |
Version 2.1 has a knob to tell where sudo is. Use it.
PR: 206331
Submitted by: ohauer
Sponsored by: Absolight
Diffstat (limited to 'net-mgmt/nagios-plugins')
-rw-r--r-- | net-mgmt/nagios-plugins/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net-mgmt/nagios-plugins/Makefile b/net-mgmt/nagios-plugins/Makefile index f1989e1774bc..5c9c243834f0 100644 --- a/net-mgmt/nagios-plugins/Makefile +++ b/net-mgmt/nagios-plugins/Makefile @@ -3,7 +3,7 @@ PORTNAME= nagios-plugins PORTVERSION= 2.1.1 -PORTREVISION= 4 +PORTREVISION= 5 PORTEPOCH= 1 CATEGORIES= net-mgmt MASTER_SITES= https://www.nagios-plugins.org/download/ \ @@ -75,6 +75,7 @@ CONFIGURE_ARGS+=ac_cv_path_PATH_TO_QMAIL_QSTAT=/var/qmail/bin/qmail-qstat \ ac_cv_path_PATH_TO_PING6=/sbin/ping6 \ --with-ping-command="/sbin/ping -n -c %d %s" \ --with-ping6-command="/sbin/ping6 -n -c %d %s" \ + ac_cv_path_PATH_TO_SUDO=${LOCALBASE}/bin/sudo \ ac_cv_path_PATH_TO_SMBCLIENT=${LOCALBASE}/bin/smbclient CPPFLAGS+= -I${LOCALBASE}/include |