summaryrefslogtreecommitdiff
path: root/security/cyrus-sasl2-sql/Makefile
blob: 471cc4038e0f9610edfd897d6229cc652f12cbd2 (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
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"