freebsd-ports/security/cyrus-sasl2-sql/Makefile
Mahdi Mokhtari feeb5a15e8 security/cyrus-sasl2: separate sql plugins into security/cyrus-sasl2-sql
Fix circular-dependency problem happens after SASL/LDAP was added as
plugin to mysql57-client in r446496

Reviewed by:	bapt, mat (mentor), ume (maintainer)
Approved by:	mat (mentor), ume (maintainer)
MFH:		2017Q3
Differential Revision:	https://reviews.freebsd.org/D11805
2017-08-11 18:47:20 +00:00

29 lines
716 B
Makefile

# $FreeBSD$
PKGNAMESUFFIX= -sql
COMMENT= SASL SQL plugins
OPTIONS_DEFINE= MYSQL PGSQL
OPTIONS_RADIO= SQLITE
OPTIONS_RADIO_SQLITE= SQLITE2 SQLITE3
OPTIONS_DEFAULT= MYSQL
OPTIONS_SUB= yes
MYSQL_USES= mysql
MYSQL_CONFIGURE_ON= --with-mysql=${LOCALBASE}
MYSQL_CONFIGURE_OFF= --without-mysql
PGSQL_USES= pgsql
PGSQL_CONFIGURE_ON= --with-pgsql=${LOCALBASE}
PGSQL_CONFIGURE_OFF= --without-pgsql
SQLITE2_USES= sqlite:2
SQLITE2_CONFIGURE_ON= --with-sqlite=${LOCALBASE}
SQLITE2_CONFIGURE_OFF= --without-sqlite
SQLITE3_USES= sqlite:3
SQLITE3_CONFIGURE_ON= --with-sqlite3=${LOCALBASE}
SQLITE3_CONFIGURE_OFF= --without-sqlite3
CONFIGURE_ARGS+= --enable-sql
.include "${.CURDIR}/../../security/cyrus-sasl2/Makefile.common"