1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Fix PLIST for users with world built WITHOUT_OPENSSH.

PR:		184736
Submitted by:	wallman
(he proposed different solution)
This commit is contained in:
Dmitry Sivachenko 2013-12-16 12:06:28 +00:00
parent 595ae0a408
commit 33b0cbe3ac
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=336629
2 changed files with 9 additions and 3 deletions

View File

@ -149,6 +149,10 @@ CONFIGURE_ARGS+= --without-dbi
PLIST_SUB+= SUB_DBI="@comment "
.endif
.if ${PORT_OPTIONS:MEXTRAOPTS}
CONFIGURE_ARGS+= --enable-extra-opts
.endif
.if ${OSVERSION} > 1000055
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-dig-to-drill.diff
CONFIGURE_ARGS+=--with-dig-command=/usr/bin/drill
@ -157,8 +161,10 @@ PLIST_SUB+= SUB_DNS="@comment "
PLIST_SUB+= SUB_DNS=""
.endif
.if ${PORT_OPTIONS:MEXTRAOPTS}
CONFIGURE_ARGS+= --enable-extra-opts
.if !exists(/usr/bin/ssh)
PLIST_SUB+= SUB_SSH="@comment "
.else
PLIST_SUB+= SUB_SSH=""
.endif
post-patch:

View File

@ -1,6 +1,6 @@
libexec/nagios/check_apt
libexec/nagios/check_breeze
libexec/nagios/check_by_ssh
%%SUB_SSH%%libexec/nagios/check_by_ssh
libexec/nagios/check_clamd
libexec/nagios/check_cluster
%%SUB_DBI%%libexec/nagios/check_dbi