aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nagios-plugins/Makefile
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2020-08-31 12:39:58 +0000
committerMathieu Arnold <mat@FreeBSD.org>2020-08-31 12:39:58 +0000
commit5012daeff60fce4bd4253b7580a38d160ef42a2c (patch)
tree8d39e218f6f77e7aceee6fc6836e700c374a6342 /net-mgmt/nagios-plugins/Makefile
parent7354fc1b89b4ab7829dce422fcf9dcf2933d8f4e (diff)
downloadports-5012daeff60fce4bd4253b7580a38d160ef42a2c.tar.gz
ports-5012daeff60fce4bd4253b7580a38d160ef42a2c.zip
Notes
Diffstat (limited to 'net-mgmt/nagios-plugins/Makefile')
-rw-r--r--net-mgmt/nagios-plugins/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/net-mgmt/nagios-plugins/Makefile b/net-mgmt/nagios-plugins/Makefile
index a182a827b1e6..a526f5561640 100644
--- a/net-mgmt/nagios-plugins/Makefile
+++ b/net-mgmt/nagios-plugins/Makefile
@@ -3,7 +3,7 @@
PORTNAME= nagios-plugins
DISTVERSION= 2.3.3
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= net-mgmt
MASTER_SITES= https://www.nagios-plugins.org/download/ \
@@ -70,6 +70,10 @@ SSH_PORTABLE_DESC= Build check_ssh with ports openssh (instead of base)
DBI_LIB_DEPENDS= libdbi.so:databases/libdbi
DBI_CONFIGURE_WITH= dbi
+DNS_BASE_CONFIGURE_ON= --with-dig-command=/usr/bin/drill \
+ ac_cv_path_PATH_TO_NSLOOKUP=
+DNS_BASE_EXTRA_PATCHES= ${FILESDIR}/extra-patch-dig-to-drill.diff
+
DNS_BINDTOOLS_BUILD_DEPENDS= ${LOCALBASE}/bin/dig:dns/bind-tools
DNS_BINDTOOLS_RUN_DEPENDS= ${DNS_BINDTOOLS_BUILD_DEPENDS}
DNS_BINDTOOLS_CONFIGURE_ON= --with-dig-command=${LOCALBASE}/bin/dig \
@@ -131,15 +135,6 @@ _PING6_CMD= /sbin/ping6 -n -X %d -c %d %s
_PING6_CMD= /sbin/ping6 -n -t %d -c %d %s
.endif
-.if ${PORT_OPTIONS:MDNS_BASE}
-EXTRA_PATCHES+= ${FILESDIR}/extra-patch-dig-to-drill.diff
-CONFIGURE_ARGS+= --with-dig-command=/usr/bin/drill \
- ac_cv_path_PATH_TO_NSLOOKUP=
-PLIST_SUB+= CHECK_DNS="@comment "
-.else
-PLIST_SUB+= CHECK_DNS=""
-.endif
-
.if !exists(/usr/bin/ssh) && empty(PORT_OPTIONS:MSSH_PORTABLE)
PLIST_SUB+= SSH="@comment "
.else