diff options
author | ryoon <ryoon> | 2015-04-16 20:27:09 +0000 |
---|---|---|
committer | ryoon <ryoon> | 2015-04-16 20:27:09 +0000 |
commit | 82ba09a3b673a093be6de94b648d463fba85f708 (patch) | |
tree | 5b1b0ddcb042b1f8702656d135e7a723ed476bcf /databases | |
parent | 4a38a8a59fa96d191288bbfd7f5af5dc16d75cd3 (diff) | |
download | pkgsrc-82ba09a3b673a093be6de94b648d463fba85f708.tar.gz |
Support mariadb55-client.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/php-mysqli/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/databases/php-mysqli/Makefile b/databases/php-mysqli/Makefile index 033e4b8b7de..8ea4ba3be14 100644 --- a/databases/php-mysqli/Makefile +++ b/databases/php-mysqli/Makefile @@ -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 @@ PKG_SUGGESTED_OPTIONS= # empty .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" |