summaryrefslogtreecommitdiff
path: root/databases/postgresql93/options.mk
diff options
context:
space:
mode:
authoradam <adam>2013-09-10 15:32:32 +0000
committeradam <adam>2013-09-10 15:32:32 +0000
commitf4ba615cc9bf448ebac9a6a749435c6fe07e46f1 (patch)
treeef2c53e491faea05c5ea8ccb8ccdfd9b86064cde /databases/postgresql93/options.mk
parentb6607d44afc0d926b5bd519b8999c4817c00481d (diff)
downloadpkgsrc-f4ba615cc9bf448ebac9a6a749435c6fe07e46f1.tar.gz
Major enhancements in PostgreSQL 9.3 include:
* Add materialized views * Make simple views auto-updatable * Add many features for the JSON data type, including operators and functions to extract elements from JSON values * Implement SQL-standard LATERAL option for FROM-clause subqueries and function calls * Allow foreign data wrappers to support writes (inserts/updates/deletes) on foreign tables * Add a Postgres foreign data wrapper to allow access to other Postgres servers * Add support for event triggers * Add optional ability to checksum data pages and report corruption * Prevent non-key-field row updates from blocking foreign key checks * Greatly reduce System V shared memory requirements
Diffstat (limited to 'databases/postgresql93/options.mk')
-rw-r--r--databases/postgresql93/options.mk63
1 files changed, 63 insertions, 0 deletions
diff --git a/databases/postgresql93/options.mk b/databases/postgresql93/options.mk
new file mode 100644
index 00000000000..7ffe0e900ed
--- /dev/null
+++ b/databases/postgresql93/options.mk
@@ -0,0 +1,63 @@
+# $NetBSD: options.mk,v 1.1 2013/09/10 15:32:32 adam Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.postgresql93
+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
+.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