summaryrefslogtreecommitdiff
path: root/databases/postgresql80/options.mk
blob: c4cbb5518f7c0c1514f8c178456d671671d230d5 (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
# $NetBSD: options.mk,v 1.1 2005/08/05 19:43:45 jlam Exp $

PKG_SUPPORTED_OPTIONS+=		pgsql-hier-query
PKG_OPTIONS_LEGACY_VARS+=	PGSQL_USE_HIER: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.
###
.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