aboutsummaryrefslogtreecommitdiff
path: root/print/cups-base
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2008-03-28 15:40:03 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2008-03-28 15:40:03 +0000
commitb86f21fa3cd2f631f87ef70ee7ad88a456f744e3 (patch)
tree7008316cb09571e87afb34cbaa1b964ccbcb1554 /print/cups-base
parent4c26b69dcaa679eacfecde5bba572285b622020e (diff)
downloadports-b86f21fa3cd2f631f87ef70ee7ad88a456f744e3.tar.gz
ports-b86f21fa3cd2f631f87ef70ee7ad88a456f744e3.zip
- disable autodection of dbus
- new option WITH_DBUS PR: 122124
Notes
Notes: svn path=/head/; revision=210019
Diffstat (limited to 'print/cups-base')
-rw-r--r--print/cups-base/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/print/cups-base/Makefile b/print/cups-base/Makefile
index e91ccf33f3b7..27945b647aea 100644
--- a/print/cups-base/Makefile
+++ b/print/cups-base/Makefile
@@ -50,7 +50,8 @@ OPTIONS= GNUTLS "Build with GNUTLS library" on \
LIBPAPER "Build with libpaper support" off \
DNSSD "Build with DNS_SD (avahi) support" off \
PAM "Build with PAM support" off \
- LDAP "Build with LDAP support" off
+ LDAP "Build with LDAP support" off \
+ DBUS "Build with DBUS support" off
CUPS_ETCDIR= ${PREFIX}/etc/cups
CUPS_SPOOLDIR= /var/spool/cups
@@ -123,6 +124,13 @@ CONFIGURE_ARGS+= --enable-ldap
CONFIGURE_ARGS+= --disable-ldap
.endif
+.if defined(WITH_DBUS)
+LIB_DEPENDS+= dbus-1.3:${PORTSDIR}/devel/dbus
+CONFIGURE_ARGS+= --enable-dbus
+.else
+CONFIGURE_ARGS+= --disable-dbus
+.endif
+
MAN1EXT= 1
MAN5EXT= 5
MAN7EXT= 7