summaryrefslogtreecommitdiff
path: root/databases/postgresql94/options.mk
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2015-01-14 21:01:18 +0000
committeradam <adam@pkgsrc.org>2015-01-14 21:01:18 +0000
commitc5911317581507b07e2fbf85eb1595d3a4e6ec01 (patch)
treeacc80a00beba0935a731a700da40eae21a90094c /databases/postgresql94/options.mk
parentae01a4a686368ae988e6b27c080dec25744b1bf1 (diff)
downloadpkgsrc-c5911317581507b07e2fbf85eb1595d3a4e6ec01.tar.gz
PostgreSQL 9.4.0:
This release adds many new features which enhance PostgreSQL's flexibility, scalability and performance for many different types of database users, including improvements to JSON support, replication and index performance.
Diffstat (limited to 'databases/postgresql94/options.mk')
-rw-r--r--databases/postgresql94/options.mk73
1 files changed, 73 insertions, 0 deletions
diff --git a/databases/postgresql94/options.mk b/databases/postgresql94/options.mk
new file mode 100644
index 00000000000..18fa4678c1c
--- /dev/null
+++ b/databases/postgresql94/options.mk
@@ -0,0 +1,73 @@
+# $NetBSD: options.mk,v 1.1 2015/01/14 21:01:18 adam Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.postgresql94
+PKG_SUPPORTED_OPTIONS= bonjour gssapi kerberos ldap pam xml dtrace
+
+.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)
+CONFIGURE_ARGS+= --with-gssapi
+.endif
+
+###
+### Kerberos5 authentication for the PostgreSQL backend.
+###
+.if !empty(PKG_OPTIONS:Mkerberos)
+. include "../../mk/krb5.buildlink3.mk"
+CONFIGURE_ARGS+= --with-krb5
+
+CHECK_BUILTIN.${KRB5_TYPE}:= yes
+.include "../../security/${KRB5_TYPE}/builtin.mk"
+CHECK_BUILTIN.${KRB5_TYPE}:= no
+
+. if !empty(USE_BUILTIN.${KRB5_TYPE}:M[yY][eE][sS]) && \
+ exists(${SH_KRB5_CONFIG})
+CFLAGS_KRB5!= ${SH_KRB5_CONFIG} --cflags
+CPPFLAGS+= ${CFLAGS_KRB5}
+. endif
+.endif
+
+###
+### LDAP authentication for the PostgreSQL backend.
+###
+.if !empty(PKG_OPTIONS:Mldap)
+. include "../../databases/openldap-client/buildlink3.mk"
+CONFIGURE_ARGS+= --with-ldap
+.endif
+
+###
+### PAM authentication for the PostgreSQL backend.
+###
+.if !empty(PKG_OPTIONS:Mpam)
+. 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
+
+###
+### Dtrace support
+###
+.if !empty(PKG_OPTIONS:Mdtrace)
+CONFIGURE_ARGS+= --enable-dtrace
+.endif