aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.sanity.mk
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-04-26 00:17:31 +0800
committermat <mat@FreeBSD.org>2016-04-26 00:17:31 +0800
commitedc4b1a149e328e94d71fd41a78496b9387bd43e (patch)
tree3ae246ccbda59847628903cdf71a3645fe2d5a86 /Mk/bsd.sanity.mk
parentdffbc9bf81bcdcd58f45ad1d4512e6f15c851854 (diff)
downloadfreebsd-ports-gnome-edc4b1a149e328e94d71fd41a78496b9387bd43e.tar.gz
freebsd-ports-gnome-edc4b1a149e328e94d71fd41a78496b9387bd43e.tar.zst
freebsd-ports-gnome-edc4b1a149e328e94d71fd41a78496b9387bd43e.zip
Move MySQL support from bsd.databases.mk to Uses/mysql.mk.
Also, USE_MYSQL can't happen after bsd.port.pre.mk because it is a USES. PR: 208971 Submitted by: mat Exp-run by: antoine With hat: portmgr Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D5951
Diffstat (limited to 'Mk/bsd.sanity.mk')
-rw-r--r--Mk/bsd.sanity.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/Mk/bsd.sanity.mk b/Mk/bsd.sanity.mk
index cb8fc114130e..7f5258ba8117 100644
--- a/Mk/bsd.sanity.mk
+++ b/Mk/bsd.sanity.mk
@@ -169,7 +169,7 @@ SANITY_UNSUPPORTED= USE_OPENAL USE_FAM USE_MAKESELF USE_ZIP USE_LHA USE_CMAKE \
PYDISTUTILS_AUTOPLIST PYTHON_PY3K_PLIST_HACK PYDISTUTILS_NOEGGINFO \
USE_PYTHON_PREFIX USE_BZIP2 USE_XZ USE_PGSQL NEED_ROOT \
UNIQUENAME LATEST_LINK USE_SQLITE USE_FIREBIRD
-SANITY_DEPRECATED= PYTHON_PKGNAMESUFFIX USE_AUTOTOOLS PLIST_DIRSTRY USE_BDB
+SANITY_DEPRECATED= PYTHON_PKGNAMESUFFIX USE_AUTOTOOLS PLIST_DIRSTRY USE_BDB USE_MYSQL WANT_MYSQL_VER
SANITY_NOTNEEDED= WX_UNICODE
USE_AUTOTOOLS_ALT= USES=autoreconf and GNU_CONFIGURE=yes
@@ -211,6 +211,8 @@ PLIST_DIRSTRY_ALT= PLIST_DIRS
USE_SQLITE_ALT= USES=sqlite
USE_FIREBIRD_ALT= USES=firebird
USE_BDB_ALT= USES=bdb:${USE_BDB}
+USE_MYSQL_ALT= USES=mysql:${USE_MYSQL}
+WANT_MYSQL_VER_ALT= USES=mysql:${WANT_MYSQL_VER}
.for a in ${SANITY_DEPRECATED}
.if defined(${a})