diff options
author | otis <otis@pkgsrc.org> | 2020-10-20 21:53:31 +0000 |
---|---|---|
committer | otis <otis@pkgsrc.org> | 2020-10-20 21:53:31 +0000 |
commit | 51d1a0d352b97745f4910f8ffbaf32aad781083f (patch) | |
tree | 2d3ff41a1dd8d2cdaa95b29cec830bf5b7604c50 /mk | |
parent | 0d8bb9bc91eafe0260760140ef60de9e045dd4f7 (diff) | |
download | pkgsrc-51d1a0d352b97745f4910f8ffbaf32aad781083f.tar.gz |
Set MYSQL_VERSION from within mysql.buildlink3.mk simialrly
to what pgsql.buildlink3.mk does for PostgreSQL.
And while here, document PGSQL_VERSION as variable set by
pgsql.buildlink3.mk
Diffstat (limited to 'mk')
-rw-r--r-- | mk/mysql.buildlink3.mk | 7 | ||||
-rw-r--r-- | mk/pgsql.buildlink3.mk | 3 |
2 files changed, 8 insertions, 2 deletions
diff --git a/mk/mysql.buildlink3.mk b/mk/mysql.buildlink3.mk index 48d6891fded..a73594951ab 100644 --- a/mk/mysql.buildlink3.mk +++ b/mk/mysql.buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: mysql.buildlink3.mk,v 1.27 2020/05/23 07:35:56 adam Exp $ +# $NetBSD: mysql.buildlink3.mk,v 1.28 2020/10/20 21:53:31 otis Exp $ # # This file is included by packages that require some version of the # MySQL database client. @@ -19,6 +19,9 @@ # Possible: (see MYSQL_VERSION_DEFAULT) # Default: (all) # +# Variables set by this file: +# +# MYSQL_VERSION .if !defined(MYSQL_VERSION_MK) MYSQL_VERSION_MK= # defined @@ -131,4 +134,6 @@ PKG_FAIL_REASON+= "${PKGBASE} requires mysql-${_MYSQL_VERSION}, but mysql-${_MYS .include "${MYSQL_PKGSRCDIR}/buildlink3.mk" .endif +MYSQL_VERSION= ${_MYSQL_VERSION} + .endif # MYSQL_VERSION_MK diff --git a/mk/pgsql.buildlink3.mk b/mk/pgsql.buildlink3.mk index a34e955c63a..5bb8120efcf 100644 --- a/mk/pgsql.buildlink3.mk +++ b/mk/pgsql.buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: pgsql.buildlink3.mk,v 1.53 2020/10/18 09:24:02 adam Exp $ +# $NetBSD: pgsql.buildlink3.mk,v 1.54 2020/10/20 21:53:31 otis Exp $ # # User-settable variables: # @@ -13,6 +13,7 @@ # PG_LIB_EXT # PGSQL_TYPE # PGPKGSRCDIR +# PGSQL_VERSION .if !defined(PGVERSION_MK) PGVERSION_MK= defined |