summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-07-28 19:22:23 +0000
committerJohn Marino <marino@FreeBSD.org>2014-07-28 19:22:23 +0000
commitd1dbd236f341f70069bda243f7494f2ab79e84fa (patch)
tree253f867d6ade7913295e0e5542035f933617c256
parent6ef2bc3db1a168c8504c15a9b0a0b2f2d9bd008d (diff)
downloadfreebsd-ports-d1dbd236f341f70069bda243f7494f2ab79e84fa.zip
print/cups-base: Don't use avahi when MDNSRESPONDER option is selected
PR: 191619 Submitted by: Don Lewis Approval: Not required; port is unmaintained
-rw-r--r--print/cups-base/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/print/cups-base/Makefile b/print/cups-base/Makefile
index ef3a7604c0b9..254e01d0d048 100644
--- a/print/cups-base/Makefile
+++ b/print/cups-base/Makefile
@@ -67,7 +67,7 @@ OPTIONS_SINGLE_SSL= GNUTLS OPENSSL
OPTIONS_DEFAULT= OPENSSL
OPTIONS_SUB= yes
.else
-PORTREVISION= 0
+PORTREVISION= 1
CUPS_SUFFIX= -base
OPTIONS_DEFINE= DOCS DBUS ICONS LIBPAPER LIBUSB PAM XDG_OPEN
OPTIONS_GROUP= WEB
@@ -173,6 +173,7 @@ LIB_DEPENDS+= libpaper.so:${PORTSDIR}/print/libpaper
.if !defined(CUPS_CLIENT) && !defined(CUPS_IMAGE) && ${PORT_OPTIONS:MMDNSRESPONDER}
LIB_DEPENDS+= libdns_sd.so:${PORTSDIR}/net/mDNSResponder
CONFIGURE_ARGS+= --with-dnssd-includes=${LOCALBASE}/include
+CONFIGURE_ARGS+= --disable-avahi
.elif !defined(CUPS_CLIENT) && !defined(CUPS_IMAGE) && ${PORT_OPTIONS:MAVAHI}
CONFIGURE_ARGS+= --enable-avahi
LIB_DEPENDS+= libavahi-client.so:${PORTSDIR}/net/avahi-app