pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/php-mysqli Support mariadb55-client.
details: https://anonhg.NetBSD.org/pkgsrc/rev/23484548cde7
branches: trunk
changeset: 650016:23484548cde7
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Thu Apr 16 20:27:09 2015 +0000
description:
Support mariadb55-client.
diffstat:
databases/php-mysqli/Makefile | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diffs (25 lines):
diff -r 44b913e7ff0b -r 23484548cde7 databases/php-mysqli/Makefile
--- a/databases/php-mysqli/Makefile Thu Apr 16 20:24:15 2015 +0000
+++ b/databases/php-mysqli/Makefile Thu Apr 16 20:27:09 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2014/06/17 10:27:58 fhajny Exp $
+# $NetBSD: Makefile,v 1.12 2015/04/16 20:27:09 ryoon Exp $
MODNAME= mysqli
CATEGORIES+= databases
@@ -17,9 +17,14 @@
.if !empty(PKG_OPTIONS:Mmysqlnd)
CONFIGURE_ARGS+= --with-${MODNAME}=shared,mysqlnd
.else
+. include "../../mk/mysql.buildlink3.mk"
+. if !empty(_MYSQL_VERSION:MMARIADB*)
+EVAL_PREFIX+= MYSQLDIR=mariadb-client
+CONFIGURE_ARGS+= --with-${MODNAME}=${BUILDLINK_PREFIX.mariadb-client}/bin/mysql_config
+. else
EVAL_PREFIX+= MYSQLDIR=mysql-client
CONFIGURE_ARGS+= --with-${MODNAME}=${BUILDLINK_PREFIX.mysql-client}/bin/mysql_config
-. include "../../mk/mysql.buildlink3.mk"
+. endif
.endif
.include "../../lang/php/ext.mk"
Home |
Main Index |
Thread Index |
Old Index