pkgsrc/databases/php-mysqli/Makefile
manu 5f09799a29 Fix build of packages depending on mariadb55-client
When a package depends on mysql-client, in includes mk/mysql-buildlink3.mk
and may get buildlinked with mariadb55-client if MYSQL_VERSION_DEFAULT is
set to MARIADB55.

mariadb55-client's buildlink3.mk defined BUILDLINK_*.mariadb-client
variables, wich caused build problems with packages expecting
2015-08-10 12:56:27 +00:00

25 lines
655 B
Makefile

# $NetBSD: Makefile,v 1.13 2015/08/10 12:56:27 manu Exp $
MODNAME= mysqli
CATEGORIES+= databases
COMMENT= PHP5 extension for MySQL 4.1 and later databases
MAINTAINER= pkgsrc-users@NetBSD.org
CONFLICTS= php-mysqli-[0-9]*
PKG_OPTIONS_VAR= PKG_OPTIONS.php-mysqli
PKG_SUPPORTED_OPTIONS= mysqlnd
PKG_SUGGESTED_OPTIONS= # empty
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mmysqlnd)
CONFIGURE_ARGS+= --with-${MODNAME}=shared,mysqlnd
.else
. include "../../mk/mysql.buildlink3.mk"
CONFIGURE_ARGS+= --with-${MODNAME}=${BUILDLINK_PREFIX.mysql-client}/bin/mysql_config
.endif
.include "../../lang/php/ext.mk"
.include "../../mk/bsd.pkg.mk"