pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Set MYSQL_VERSION from within mysql.buildlink3.mk s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d4dc190d7167
branches:  trunk
changeset: 440875:d4dc190d7167
user:      otis <otis%pkgsrc.org@localhost>
date:      Tue Oct 20 21:53:31 2020 +0000

description:
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:

 mk/mysql.buildlink3.mk |  7 ++++++-
 mk/pgsql.buildlink3.mk |  3 ++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diffs (43 lines):

diff -r fe06230d9280 -r d4dc190d7167 mk/mysql.buildlink3.mk
--- a/mk/mysql.buildlink3.mk    Tue Oct 20 20:17:19 2020 +0000
+++ b/mk/mysql.buildlink3.mk    Tue Oct 20 21:53:31 2020 +0000
@@ -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 @@
 .include "${MYSQL_PKGSRCDIR}/buildlink3.mk"
 .endif
 
+MYSQL_VERSION=         ${_MYSQL_VERSION}
+
 .endif # MYSQL_VERSION_MK
diff -r fe06230d9280 -r d4dc190d7167 mk/pgsql.buildlink3.mk
--- a/mk/pgsql.buildlink3.mk    Tue Oct 20 20:17:19 2020 +0000
+++ b/mk/pgsql.buildlink3.mk    Tue Oct 20 21:53:31 2020 +0000
@@ -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



Home | Main Index | Thread Index | Old Index