pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Add mariadb55 support.
details: https://anonhg.NetBSD.org/pkgsrc/rev/44b913e7ff0b
branches: trunk
changeset: 650015:44b913e7ff0b
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Thu Apr 16 20:24:15 2015 +0000
description:
Add mariadb55 support.
diffstat:
mk/mysql.buildlink3.mk | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diffs (46 lines):
diff -r 2994f5e6266e -r 44b913e7ff0b mk/mysql.buildlink3.mk
--- a/mk/mysql.buildlink3.mk Thu Apr 16 20:23:31 2015 +0000
+++ b/mk/mysql.buildlink3.mk Thu Apr 16 20:24:15 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mysql.buildlink3.mk,v 1.19 2015/01/01 07:51:47 dholland Exp $
+# $NetBSD: mysql.buildlink3.mk,v 1.20 2015/04/16 20:24:15 ryoon Exp $
#
# This file is included by packages that require some version of the
# MySQL database client.
@@ -8,7 +8,7 @@
# MYSQL_VERSION_DEFAULT
# The preferred MySQL version.
#
-# Possible: 56 55 51
+# Possible: 56 55 51 MARIADB55
# Default: 55
#
# === Package-settable variables ===
@@ -31,7 +31,7 @@
.include "../../mk/bsd.prefs.mk"
MYSQL_VERSION_DEFAULT?= 55
-MYSQL_VERSIONS_ACCEPTED?= 56 55 51
+MYSQL_VERSIONS_ACCEPTED?= 56 55 51 MARIADB55
# transform the list into individual variables
.for mv in ${MYSQL_VERSIONS_ACCEPTED}
@@ -58,6 +58,9 @@
. if exists(${LOCALBASE}/include/mysql/mysql/client_authentication.h)
_MYSQL_VERSION_56_INSTALLED= yes
_MYSQL_VERSION_INSTALLED= 56
+. elif exists(${LOCALBASE}/share/mariadb)
+_MYSQL_VERSION_MARIADB55_INSTALLED= yes
+_MYSQL_VERSION_INSTALLED= MARIADB55
. else
_MYSQL_VERSION_55_INSTALLED= yes
_MYSQL_VERSION_INSTALLED= 55
@@ -109,6 +112,8 @@
#
.if ${_MYSQL_VERSION} == "56"
MYSQL_PKGSRCDIR= ../../databases/mysql56-client
+.elif ${_MYSQL_VERSION} == "MARIADB55"
+MYSQL_PKGSRCDIR= ../../databases/mariadb55-client
.elif ${_MYSQL_VERSION} == "55"
MYSQL_PKGSRCDIR= ../../databases/mysql55-client
.elif ${_MYSQL_VERSION} == "51"
Home |
Main Index |
Thread Index |
Old Index