blob: be41e873e522b8f014d4b0c0e4273920fb83088e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# $NetBSD: Makefile,v 1.14 2010/12/13 13:18:19 taca Exp $
MODNAME= mysql
CATEGORIES+= databases
COMMENT= PHP extension for MySQL databases
MAINTAINER= pkgsrc-users@NetBSD.org
PKG_DESTDIR_SUPPORT= user-destdir
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"
|