Subject: CVS commit: pkgsrc/databases
From: Stephen Borrill
Date: 2009-03-13 11:57:20
Message id: 20090313105721.01250175D0@cvs.netbsd.org

Log Message:
The php_pdo* packages have not kept step with PHP changes. The PDO
components are now built into PHP rather than maintained separately in
PECL. The old PECL versions are unmaintained and haven't been altered
for 3 years. This is confusing as the package versions report themselves
to be 5.2.9.1.0.2, etc. but they are in fact based on the 5.1.x code-base.

Therefore, we need to switch to building the PDO modules like any other
PHP module.

A side-effect of this is that the PECL version number will get stripped
off the end meaning that the new version numbers are just 5.2.9 instead
of 5.2.9.1.0.2 (for example). Unfortunately, 5.2.9 is considered to be
older than 5.2.9.1.0.2 meaning that it will appear as though a downgrade
has taken place. Therefore, while we are still using PHP 5.2.9, add .99 on
the end (i.e. 5.2.9.99) so that the package appears newer. When PHP 5.2.10
is released this can be removed (the module.mk file explicitly cgecks for
5.2.9 before adding the .99 suffix so that it will not alter 5.2.10 if the
hack is forgotten. However, for the record, when 5.2.10 is released,
php-pdo/module.mk can be removed along with the references to it in each
php-pdo*/Makefile

Files:
RevisionActionfile
1.8modifypkgsrc/databases/php-pdo/Makefile
1.10modifypkgsrc/databases/php-pdo/buildlink3.mk
1.8modifypkgsrc/databases/php-pdo/module.mk
1.9modifypkgsrc/databases/php-pdo_dblib/Makefile
1.8modifypkgsrc/databases/php-pdo_mysql/Makefile
1.7modifypkgsrc/databases/php-pdo_odbc/Makefile
1.10modifypkgsrc/databases/php-pdo_pgsql/Makefile
1.7modifypkgsrc/databases/php-pdo_sqlite/Makefile
1.3removepkgsrc/databases/php-pdo/distinfo
1.1removepkgsrc/databases/php-pdo/patches/patch-aa
1.3removepkgsrc/databases/php-pdo_dblib/distinfo
1.1removepkgsrc/databases/php-pdo_dblib/patches/patch-aa
1.2removepkgsrc/databases/php-pdo_odbc/distinfo
1.2removepkgsrc/databases/php-pdo_pgsql/distinfo
1.2removepkgsrc/databases/php-pdo_sqlite/distinfo