diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-12-30 08:12:05 +0100 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-12-31 01:06:36 +0100 |
commit | e716c4e0ead482d5823056ddbb895d69bf3132da (patch) | |
tree | 3a9f4c5e19ec990a92a5e8b7c83e49954ebc3681 /Mk | |
parent | d904ca2a2c1bd339d0a75daddf5c29976e8a4790 (diff) | |
download | freebsd-ports-e716c4e0ead482d5823056ddbb895d69bf3132da.zip |
databases/mysql57-*: Remove expired port
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/Uses/mysql.mk | 19 | ||||
-rw-r--r-- | Mk/bsd.default-versions.mk | 2 |
2 files changed, 5 insertions, 16 deletions
diff --git a/Mk/Uses/mysql.mk b/Mk/Uses/mysql.mk index 4d14702ffc81..36d6ce454f1c 100644 --- a/Mk/Uses/mysql.mk +++ b/Mk/Uses/mysql.mk @@ -1,15 +1,14 @@ # Provide support for MySQL # Feature: mysql # Usage: USES=mysql or USES=mysql:args -# Valid ARGS: <version>, client, server, embedded +# Valid ARGS: <version>, client, server # # version If no version is given (by the maintainer via the port), try to # find the currently installed version. Fall back to default if # necessary (MySQL-8.0 = 80, look at bsd.default-versions.mk for # possible values). # client Depends on the libmysqlclient library (default) -# server/embedded -# Depend on the server at run/build time. If none of these is +# server Depend on the server at run/build time. If none of these is # set, depends on the client. # # IGNORE_WITH_MYSQL @@ -28,16 +27,11 @@ _INCLUDE_USES_MYSQL_MK= yes . if !empty(mysql_ARGS) .undef _WANT_MYSQL_VER .undef _WANT_MYSQL_SERVER -.undef _WANT_MYSQL_EMBEDDED _MYSQL_ARGS= ${mysql_ARGS:S/,/ /g} . if ${_MYSQL_ARGS:Mserver} _WANT_MYSQL_SERVER= yes _MYSQL_ARGS:= ${_MYSQL_ARGS:Nserver} . endif -. if ${_MYSQL_ARGS:Membedded} -_WANT_MYSQL_EMBEDDED= yes -_MYSQL_ARGS:= ${_MYSQL_ARGS:Nembedded} -. endif . if ${_MYSQL_ARGS:Mclient} _WANT_MYSQL_CLIENT= yes _MYSQL_ARGS:= ${_MYSQL_ARGS:Nclient} @@ -62,7 +56,6 @@ DEFAULT_MYSQL_VER?= ${MYSQL_DEFAULT:S/.//} # MySQL client version currently supported. # When adding a version, please keep the comment in # Mk/bsd.default-versions.mk in sync. -MYSQL57_LIBVER= 20 MYSQL80_LIBVER= 21 MYSQL81_LIBVER= 22 . for v in 5 6 11 @@ -139,14 +132,10 @@ IGNORE= cannot install: does not work with MySQL version ${MYSQL_VER} (MySQL ${ . endif . endfor . endif # IGNORE_WITH_MYSQL -. if defined(_WANT_MYSQL_SERVER) || defined(_WANT_MYSQL_EMBEDDED) +. if defined(_WANT_MYSQL_SERVER) RUN_DEPENDS+= ${LOCALBASE}/libexec/mysqld:${_MYSQL_SERVER} -. if defined(_WANT_MYSQL_EMBEDDED) -BUILD_DEPENDS+= ${LOCALBASE}/lib/mysql/libmysqld.a:${_MYSQL_SERVER} -. endif . endif -. if defined(_WANT_MYSQL_CLIENT) || \ - !(defined(_WANT_MYSQL_SERVER) || defined(_WANT_MYSQL_EMBEDDED)) +. if defined(_WANT_MYSQL_CLIENT) || !defined(_WANT_MYSQL_SERVER) LIB_DEPENDS+= ${_MYSQL_SHLIB}.so.${MYSQL${MYSQL_VER}_LIBVER}:${_MYSQL_CLIENT} . endif . else diff --git a/Mk/bsd.default-versions.mk b/Mk/bsd.default-versions.mk index cd9f3fb5e29e..c9ec72406e7f 100644 --- a/Mk/bsd.default-versions.mk +++ b/Mk/bsd.default-versions.mk @@ -105,7 +105,7 @@ LUAJIT_DEFAULT?= luajit-devel . endif # Possible values: 5.10, 5.20, 6.8 MONO_DEFAULT?= 5.20 -# Possible values: 5.7, 8.0, 8.1, 10.5m, 10.6m, 10.11m +# Possible values: 8.0, 8.1, 10.5m, 10.6m, 10.11m MYSQL_DEFAULT?= 8.0 # Possible values: ninja, samurai NINJA_DEFAULT?= ninja |