diff options
author | jdolecek <jdolecek> | 2005-12-03 17:24:28 +0000 |
---|---|---|
committer | jdolecek <jdolecek> | 2005-12-03 17:24:28 +0000 |
commit | bca1eb8d0cc6124aa27ee57a297f667ccf00ce5c (patch) | |
tree | e36ea6687797a5cb638bd635d392349e3d74d846 /databases/php-pdo/module.mk | |
parent | 05f721bc9d19e94f412ca07d77e7247a2fc1a918 (diff) | |
download | pkgsrc-bca1eb8d0cc6124aa27ee57a297f667ccf00ce5c.tar.gz |
Update the PHP PDO to latest available PECL versions (1.0/1.0.1/1.0.2).
Changes are bugfixes mostly.
Also rework php-pdo/module.mk somewhat, so that the base php-pdo package
can use it too.
Diffstat (limited to 'databases/php-pdo/module.mk')
-rw-r--r-- | databases/php-pdo/module.mk | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/databases/php-pdo/module.mk b/databases/php-pdo/module.mk index 3958416593a..7d6d51150fa 100644 --- a/databases/php-pdo/module.mk +++ b/databases/php-pdo/module.mk @@ -1,15 +1,19 @@ -# $NetBSD: module.mk,v 1.4 2005/10/10 14:29:05 tv Exp $ +# $NetBSD: module.mk,v 1.5 2005/12/03 17:24:28 jdolecek 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_DRIVER_TR:sh} -PKGMODNAME= pdo_${PDO_DRIVER} -PKGNAME= php-${PKGMODNAME}-${PHP_BASE_VERS}.${PECL_VERSION} -PDO_VERSION?= 1.0RC1 +MODNAME= PDO${_PDO_SEP}${PDO_DRIVER_TR:sh} +PKGMODNAME= pdo${_PDO_SEP}${PDO_DRIVER} PECL_VERSION?= ${PDO_VERSION} +PKGNAME= php-${PKGMODNAME}-${PHP_BASE_VERS}.${PECL_VERSION} + CATEGORIES+= databases MAINTAINER= jdolecek@NetBSD.org COMMENT= PHP PDO extension for ${PDO_COMMENT} databases - -.include "../../databases/php-pdo/buildlink3.mk" |