From 13fb24bcd7fef21ea3288a07e5388711eba31bf0 Mon Sep 17 00:00:00 2001 From: obache Date: Sat, 17 Dec 2011 13:46:27 +0000 Subject: 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. --- devel/php-memcache/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'devel/php-memcache') diff --git a/devel/php-memcache/Makefile b/devel/php-memcache/Makefile index 993422c9984..335a1a82114 100644 --- a/devel/php-memcache/Makefile +++ b/devel/php-memcache/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.8 2010/12/19 03:00:52 taca Exp $ +# $NetBSD: Makefile,v 1.9 2011/12/17 13:46:27 obache Exp $ # MODNAME= memcache PECL_VERSION= 2.2.6 +PECL_LEGACY_VERSION_SCHEME= yes CATEGORIES+= devel COMMENT= PHP extension for memcached -- cgit v1.2.3