2004-10-31 22:07:13 +01:00
|
|
|
# $NetBSD: Makefile,v 1.2 2004/10/31 21:07:14 jdolecek Exp $
|
2004-10-31 20:30:29 +01:00
|
|
|
|
|
|
|
MODNAME= mysql
|
|
|
|
CATEGORIES+= databases
|
|
|
|
PKGREVISION= # empty
|
|
|
|
COMMENT= PHP extension for MySQL databases
|
|
|
|
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
|
|
|
|
|
|
USE_BUILDLINK3= yes
|
|
|
|
USE_PHP_EXT_PATCHES= yes
|
|
|
|
|
2004-10-31 22:07:13 +01:00
|
|
|
.include "../../lang/php/ext.mk"
|
|
|
|
|
2004-10-31 20:30:29 +01:00
|
|
|
EVAL_PREFIX+= MYSQLDIR=mysql-client
|
|
|
|
CONFIGURE_ARGS+= --with-${MODNAME}=shared,${MYSQLDIR}
|
|
|
|
LDFLAGS+= ${COMPILER_RPATH_FLAG}${LOCALBASE}/lib/mysql
|
|
|
|
|
|
|
|
.include "../../mk/mysql.buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|