summaryrefslogtreecommitdiff
path: root/databases/postgresql81/options.mk
blob: 511ef82ff089d08d7e41462bf86002f2ac1190dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $NetBSD: options.mk,v 1.1.1.1 2006/03/20 14:45:49 uebayasi Exp $

PKG_SUPPORTED_OPTIONS+=		pgsql-hier-query

.include "../../mk/bsd.options.mk"

###
### PAM authentication for the PostgreSQL backend.
###
.if !empty(PKG_OPTIONS:Mpam)
.  include "../../mk/pam.buildlink3.mk"
CONFIGURE_ARGS+=        --with-pam
.endif

###
### Support for hierarchical queries with Oracle-like CONNECT BY syntax.
### See http://gppl.moonbone.ru/README.html for details.  Note that use of
### this patch is discouraged by PostgreSQL developers because it is
### considered somewhat buggy and incomplete.
###
.if !empty(PKG_OPTIONS:Mpgsql-hier-query)
PATCH_SITES=		http://gppl.moonbone.ru/
PATCHFILES=		hier-Pg8.0.3-0.5.5.diff.gz
PATCH_DIST_STRIP=	-p1
PLIST_SUBST+=		PG_HIER=
.else
PLIST_SUBST+=		PG_HIER="@comment "
.endif