summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorasau <asau>2010-12-11 16:16:37 +0000
committerasau <asau>2010-12-11 16:16:37 +0000
commitbb42fed543fe05366509a01068a6474bd453b51c (patch)
tree246455f1b3b082a3bc3e5eebe06db78fd9c40298 /databases
parentdc6e8569d36cc12eaded711dd8a2c6255504d722 (diff)
downloadpkgsrc-bb42fed543fe05366509a01068a6474bd453b51c.tar.gz
Support "xml" option (default off) as requested in PR pkg/44217
Diffstat (limited to 'databases')
-rw-r--r--databases/postgresql90/options.mk12
1 files changed, 10 insertions, 2 deletions
diff --git a/databases/postgresql90/options.mk b/databases/postgresql90/options.mk
index b6e66c7c2a8..2e8b08707c1 100644
--- a/databases/postgresql90/options.mk
+++ b/databases/postgresql90/options.mk
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.2 2010/11/03 14:36:41 adam Exp $
+# $NetBSD: options.mk,v 1.3 2010/12/11 16:16:37 asau Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.postgresql90
-PKG_SUPPORTED_OPTIONS= gssapi krb5 ldap pam
+PKG_SUPPORTED_OPTIONS= gssapi krb5 ldap pam xml
.include "../../mk/bsd.options.mk"
@@ -35,3 +35,11 @@ CONFIGURE_ARGS+= --with-ldap
. include "../../mk/pam.buildlink3.mk"
CONFIGURE_ARGS+= --with-pam
.endif
+
+###
+### XML support for the PostgreSQL backend.
+###
+.if !empty(PKG_OPTIONS:Mxml)
+. include "../../textproc/libxml2/buildlink3.mk"
+CONFIGURE_ARGS+= --with-libxml
+.endif