blob: aec56a6e8440bcf2e6898e9127beb5ed91ad37c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# $NetBSD: module.mk,v 1.7 2006/06/02 18:27:55 joerg Exp $
# Items common for all PDO drivers
.if !empty(PDO_DRIVER)
_PDO_SEP= _
.else
_PDO_SEP= # empty
.endif
PDO_DRIVER_TR= ${ECHO} ${PDO_DRIVER:Q} | ${TR} a-z A-Z
MODNAME= PDO${_PDO_SEP}${PDO_DRIVER_TR:sh}
PKGMODNAME= pdo${_PDO_SEP}${PDO_DRIVER}
PECL_VERSION?= ${PDO_VERSION}
PKGNAME= ${PHP_PKG_PREFIX}-${PKGMODNAME}-${PHP_BASE_VERS}.${PECL_VERSION}
CONFLICTS= php-pdo${_PDO_SEP}${PDO_DRIVER}-[0-9]*
CATEGORIES+= databases
MAINTAINER= jdolecek@NetBSD.org
COMMENT= PHP PDO extension for ${PDO_COMMENT} databases
# needed due to (broken?) PDO_* configure checks
CONFIGURE_ENV+= PHP_PDO_SHARED="1"
PHP_VERSIONS_ACCEPTED= 5
.include "../../lang/php/phpversion.mk"
|