# $NetBSD: Makefile,v 1.16 2012/10/02 21:25:39 asau Exp $
MODNAME= mysql
PKGREVISION= 1
CATEGORIES+= databases
COMMENT= PHP extension for MySQL databases
MAINTAINER= pkgsrc-users@NetBSD.org
CONFLICTS= php-mysql-[0-9]*
USE_PHP_EXT_PATCHES= yes
EVAL_PREFIX+= MYSQLDIR=mysql-client
CONFIGURE_ARGS+= --with-${MODNAME}=shared,${MYSQLDIR}
CONFIGURE_ENV+= CPP=${CPP:Q}
LDFLAGS+= ${COMPILER_RPATH_FLAG}${LOCALBASE}/lib/mysql
.include "../../lang/php/ext.mk"
.include "../../mk/mysql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>