Subject: CVS commit: pkgsrc
From: OBATA Akio
Date: 2011-12-17 14:46:29
Message id: 20111217134629.84A3D175DD@cvs.netbsd.org

Log Message:
Change default PKGNAME scheme for PECL packages.
Drop ${PHP_BASE_VARS} from PKGVERSION by default.

It used to be required to support multiple php version.
But after PHP version based ${PHP_PKG_PREFIX} was introduced,
such trick is not required anymore.
In addition to this, such version name schme invokes unwanted version bump
when base php version is bumped, plus, such version scheme is hard to
use for DEPENDS pattern.

To avoid downgrading of package using such legacy version scheme,
PECL_LEGACY_VERSION_SCHEME is introduced.
If it is defined, current version scheme is still used for currently
supported PHP version (5 and 53), but instead of ${PHP_BASE_VARS},
current fixed PHP base version in pkgsrc is used to avoid unwanted version bump
from update of PHP base package.
With newer PHP (54, or so on), new version scheme will be used if
it is defined.
This trick will not be required and should be removed after php5 and php53 will
be gone away from pkgsrc.

Files:
RevisionActionfile
1.12modifypkgsrc/databases/php-dbx/Makefile
1.3modifypkgsrc/databases/php-redis/Makefile
1.9modifypkgsrc/devel/php-memcache/Makefile
1.15modifypkgsrc/net/php-yaz/Makefile
1.19modifypkgsrc/print/php-pdflib/Makefile
1.4modifypkgsrc/security/php-suhosin/Makefile
1.4modifypkgsrc/textproc/php-enchant/Makefile
1.8modifypkgsrc/textproc/php-intl/Makefile
1.2modifypkgsrc/textproc/php-mecab/Makefile
1.16modifypkgsrc/www/php-apc/Makefile
1.15modifypkgsrc/www/php-eaccelerator/Makefile
1.4modifypkgsrc/www/php-phrasea2/Makefile
1.2modifypkgsrc/www/php-uploadprogress/Makefile