summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/exim/Makefile2
-rw-r--r--mail/postfix-policyd-sf/Makefile3
-rw-r--r--mail/qmail-mysql/Makefile3
-rw-r--r--mail/qsf/Makefile2
-rw-r--r--mail/tpop3d/Makefile2
-rw-r--r--mail/vpopmail/Makefile2
6 files changed, 6 insertions, 8 deletions
diff --git a/mail/exim/Makefile b/mail/exim/Makefile
index 04bbd475f3c6..7ea1cfa6905b 100644
--- a/mail/exim/Makefile
+++ b/mail/exim/Makefile
@@ -52,7 +52,7 @@ GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
ICONV_USES= iconv:lib,build
INTERNATIONAL_LIB_DEPENDS= libidn.so:dns/libidn
LMDB_LIB_DEPENDS= liblmdb.so:databases/lmdb
-MYSQL_USE= mysql=yes
+MYSQL_USES= mysql
OPENLDAP_USE= openldap=yes
PGSQL_USES= pgsql
REDIS_LIB_DEPENDS= libhiredis.so:databases/hiredis
diff --git a/mail/postfix-policyd-sf/Makefile b/mail/postfix-policyd-sf/Makefile
index d782040804df..3b7d58b40d0b 100644
--- a/mail/postfix-policyd-sf/Makefile
+++ b/mail/postfix-policyd-sf/Makefile
@@ -15,8 +15,7 @@ PKGNAMESUFFIX= -sf
MAINTAINER= mat@FreeBSD.org
COMMENT= Anti-spam plugin for Postfix (written in C)
-USE_MYSQL= yes
-USES= gmake
+USES= gmake mysql
USE_RC_SUBR= policyd
REALNAME= ${PKGNAME:C/-${PORTVERSION}.*//}
diff --git a/mail/qmail-mysql/Makefile b/mail/qmail-mysql/Makefile
index eab894662843..2267a33e2b2b 100644
--- a/mail/qmail-mysql/Makefile
+++ b/mail/qmail-mysql/Makefile
@@ -15,8 +15,7 @@ MYSQL_PATCH_VERSION= 1.1.15
SLAVE_MYSQL= yes
-USES= compiler:c11
-USE_MYSQL= yes
+USES= compiler:c11 mysql
MASTERDIR= ${.CURDIR}/../qmail
DESCR= ${.CURDIR}/pkg-descr
diff --git a/mail/qsf/Makefile b/mail/qsf/Makefile
index 317c585f6a50..70090bd4c1cc 100644
--- a/mail/qsf/Makefile
+++ b/mail/qsf/Makefile
@@ -31,7 +31,7 @@ CONFIGURE_ARGS+= --without-gdbm
.endif
.if ${PORT_OPTIONS:MMYSQL}
-USE_MYSQL= yes
+USES+= mysql
.else
CONFIGURE_ARGS+= --without-mysql
.endif
diff --git a/mail/tpop3d/Makefile b/mail/tpop3d/Makefile
index 60c85a2f9953..611ad70920c1 100644
--- a/mail/tpop3d/Makefile
+++ b/mail/tpop3d/Makefile
@@ -43,7 +43,7 @@ MBOXINDICES_CONFIGURE_ENABLE= mbox-bsd-save-indices
GDBMAUTH_CPPFLAGS= -I${LOCALBASE}/include
GDBMAUTH_LIB_DEPENDS= libgdbm.so:databases/gdbm
-MYSQL_USE= MYSQL=yes
+MYSQL_USES= mysql
MYSQL_CONFIGURE_ON= --enable-auth-mysql \
--with-mysql-lib-dir=${LOCALBASE}/lib/mysql \
--with-mysql-include-dir=${LOCALBASE}/include/mysql
diff --git a/mail/vpopmail/Makefile b/mail/vpopmail/Makefile
index 31825cbe4906..e8d4ae0856c9 100644
--- a/mail/vpopmail/Makefile
+++ b/mail/vpopmail/Makefile
@@ -269,7 +269,7 @@ LDAP_FILES= ${WRKSRC}/doc/README.ldap \
.endif
.if ${PORT_OPTIONS:MMYSQL}
-USE_MYSQL= yes
+USES+= mysql
.if defined(WITH_MYSQL_USER) || defined(WITH_MYSQL_READ_USER) || defined(WITH_MYSQL_UPDATE_USER)
BROKEN_MYSQL_PARAMS= true