diff options
author | ume <ume@FreeBSD.org> | 2003-08-28 20:08:50 +0800 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2003-08-28 20:08:50 +0800 |
commit | ed47f0c84073e281fba223c2b497dcb676a33cac (patch) | |
tree | ba76c17f98ee526211ccb1167be8152194af7f86 /security/cyrus-sasl2 | |
parent | 515cdaf892ed23be2606a72dfebbe2cd01e236e7 (diff) | |
download | freebsd-ports-gnome-ed47f0c84073e281fba223c2b497dcb676a33cac.tar.gz freebsd-ports-gnome-ed47f0c84073e281fba223c2b497dcb676a33cac.tar.zst freebsd-ports-gnome-ed47f0c84073e281fba223c2b497dcb676a33cac.zip |
Use USE_MYSQL.
Diffstat (limited to 'security/cyrus-sasl2')
-rw-r--r-- | security/cyrus-sasl2/Makefile | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/security/cyrus-sasl2/Makefile b/security/cyrus-sasl2/Makefile index 0984289283fe..a04584e5abfa 100644 --- a/security/cyrus-sasl2/Makefile +++ b/security/cyrus-sasl2/Makefile @@ -72,15 +72,13 @@ SASLDB_NAME= sasldb2.db .endif .if defined(WITH_MYSQL_VER) -.if ${WITH_MYSQL_VER} == 41 -LIB_DEPENDS+= mysqlclient.14:${PORTSDIR}/databases/mysql41-client -.elif ${WITH_MYSQL_VER} == 40 -LIB_DEPENDS+= mysqlclient.12:${PORTSDIR}/databases/mysql40-client -.elif ${WITH_MYSQL_VER} == 3 -LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client -.else -BROKEN= "WITH_MYSQL_VER must be 3, 40 or 41" +.if ${WITH_MYSQL_VER} == 3 +WITH_MYSQL= YES +WANT_MYSQL_VER= 323 +.endif .endif +.if defined(WITH_MYSQL) +USE_MYSQL= YES CONFIGURE_ARGS+=--with-mysql=${PREFIX} .else MYSQL= "@comment " |