pkgsrc/databases/postgresql95/options.mk
tnn 76b3088729 Add postgresql95 packages, converted from corresponding postgresql94
packages. postgresql95-upgrade is gone, the pg_upgrade tool is shipped
with postgresql95-client now.

Major enhancements in PostgreSQL 9.5 include:

  Allow INSERTs that would generate constraint conflicts to be turned into
    UPDATEs or ignored
  Add GROUP BY analysis features GROUPING SETS, CUBE and ROLLUP
  Add row-level security control
  Create mechanisms for tracking the progress of replication, including
    methods for identifying the origin of individual changes during logical
    replication
  Add Block Range Indexes (BRIN)
  Substantial performance improvements for sorting
  Substantial performance improvements for multi-CPU machines
2016-02-25 21:37:35 +00:00

73 lines
1.6 KiB
Makefile

# $NetBSD: options.mk,v 1.1 2016/02/25 21:37:35 tnn Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.postgresql95
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