aboutsummaryrefslogtreecommitdiff
path: root/sysutils/nut
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2015-09-20 03:42:40 +0000
committerCy Schubert <cy@FreeBSD.org>2015-09-20 03:42:40 +0000
commit3b4f8ed41c96c991d9e5d1daa2790d6c536ece7f (patch)
tree9c584c65d458aa3a8434c1ce401a3bcb2890bdee /sysutils/nut
parent95ef89fbee71cc63cd256084be2bbc6817389e6c (diff)
downloadports-3b4f8ed41c96c991d9e5d1daa2790d6c536ece7f.tar.gz
ports-3b4f8ed41c96c991d9e5d1daa2790d6c536ece7f.zip
Fix AVAHI and BASH builds.
Notes
Notes: svn path=/head/; revision=397355
Diffstat (limited to 'sysutils/nut')
-rw-r--r--sysutils/nut/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysutils/nut/Makefile b/sysutils/nut/Makefile
index 89ca62f329da..f2bd2fa279aa 100644
--- a/sysutils/nut/Makefile
+++ b/sysutils/nut/Makefile
@@ -3,7 +3,7 @@
PORTNAME= nut
PORTVERSION= 2.7.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://www.networkupstools.org/source/${PORTVERSION:R}/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.sig
@@ -124,6 +124,7 @@ PLIST_SUB+= NUT_PDU="@comment "
.endif
.if ${PORT_OPTIONS:MBASH}
+BUILD_DEPENDS+= ${LOCALBASE}/share/bash-completion/bash_completion.sh:${PORTSDIR}/shells/bash-completion
RUN_DEPENDS+= ${LOCALBASE}/share/bash-completion/bash_completion.sh:${PORTSDIR}/shells/bash-completion
PLIST_SUB+= BASH=""
.else
@@ -132,6 +133,7 @@ PLIST_SUB+= BASH="@comment "
.if ${PORT_OPTIONS:MAVAHI}
BUILD_DEPENDS+= ${LOCALBASE}/include/avahi-ui/avahi-ui.h:${PORTSDIR}/net/avahi-header
+BUILD_DEPENDS+= avahi-daemon:${PORTSDIR}/net/avahi-app
RUN_DEPENDS+= avahi-daemon:${PORTSDIR}/net/avahi-app
CONFIGURE_ARGS+= --with-avahi
.else