pkgsrc/databases/pgpool2/options.mk
fhajny 6c113d5b99 Import pgpool-II 3.5.0 as databases/pgpool2, based on wip/pgpool2.
pgpool-II is a middleware that works between PostgreSQL servers
and a PostgreSQL database client. It talks PostgreSQL's backend
and frontend protocol, and relays a connection between them.
2016-03-11 21:30:55 +00:00

30 lines
651 B
Makefile

# $NetBSD: options.mk,v 1.1 2016/03/11 21:30:55 fhajny Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.postgresql-pgpool
PKG_SUPPORTED_OPTIONS= memcached pam ssl
.include "../../mk/bsd.options.mk"
###
### memcached support.
###
.if !empty(PKG_OPTIONS:Mmemcached)
CONFIGURE_ARGS+= --with-memcached=${BUILDLINK_PREFIX.libmemcached}
.include "../../devel/libmemcached/buildlink3.mk"
.endif
###
### pam support.
###
.if !empty(PKG_OPTIONS:Mpam)
CONFIGURE_ARGS+= --with-pam
.include "../../mk/pam.buildlink3.mk"
.endif
###
### OpenSSL support.
###
.if !empty(PKG_OPTIONS:Mssl)
CONFIGURE_ARGS+= --with-openssl
.include "../../security/openssl/buildlink3.mk"
.endif