diff options
Diffstat (limited to 'databases/postgresql81/options.mk')
-rw-r--r-- | databases/postgresql81/options.mk | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/databases/postgresql81/options.mk b/databases/postgresql81/options.mk new file mode 100644 index 00000000000..511ef82ff08 --- /dev/null +++ b/databases/postgresql81/options.mk @@ -0,0 +1,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 |