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

print/cups-base: Don't use avahi when MDNSRESPONDER option is selected

PR:		191619
Submitted by:	Don Lewis
Approval:	Not required; port is unmaintained
This commit is contained in:
John Marino 2014-07-28 19:22:23 +00:00
parent 6ef2bc3db1
commit d1dbd236f3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363233

View File

@ -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