summaryrefslogtreecommitdiff
path: root/databases/postgresql84/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql84/options.mk')
-rw-r--r--databases/postgresql84/options.mk15
1 files changed, 13 insertions, 2 deletions
diff --git a/databases/postgresql84/options.mk b/databases/postgresql84/options.mk
index 3d1c0c1ab10..49d8e454a1c 100644
--- a/databases/postgresql84/options.mk
+++ b/databases/postgresql84/options.mk
@@ -1,11 +1,22 @@
-# $NetBSD: options.mk,v 1.5 2010/12/19 09:53:41 adam Exp $
+# $NetBSD: options.mk,v 1.6 2011/02/15 08:14:15 adam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.postgresql84
-PKG_SUPPORTED_OPTIONS= gssapi kerberos ldap pam xml
+PKG_SUPPORTED_OPTIONS= bonjour gssapi kerberos ldap pam xml
.include "../../mk/bsd.options.mk"
###
+### Bonjour support.
+###
+.if !empty(PKG_OPTIONS:Mbonjour)
+CONFIGURE_ARGS+= --with-bonjour
+. if ${OPSYS} != "Darwin"
+LIBS+= -ldns_sd
+. endif
+. include "../../net/mDNSResponder/buildlink3.mk"
+.endif
+
+###
### GSSAPI authentication for the PostgreSQL backend.
###
.if !empty(PKG_OPTIONS:Mgssapi)