summaryrefslogtreecommitdiff
path: root/textproc/php-intl
diff options
context:
space:
mode:
authorobache <obache>2011-12-17 13:46:27 +0000
committerobache <obache>2011-12-17 13:46:27 +0000
commit74eca6efd498e6616914e7763b9ebd3048549e12 (patch)
tree0201099d58a10a76fa4a723dc2af453a6d168585 /textproc/php-intl
parent86bffa0d9b6f0b8ac3386da6cb6afb3ec4fec4c1 (diff)
downloadpkgsrc-74eca6efd498e6616914e7763b9ebd3048549e12.tar.gz
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.
Diffstat (limited to 'textproc/php-intl')
-rw-r--r--textproc/php-intl/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/textproc/php-intl/Makefile b/textproc/php-intl/Makefile
index 283e6889501..65ec46e19bf 100644
--- a/textproc/php-intl/Makefile
+++ b/textproc/php-intl/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.7 2011/10/29 13:47:03 cheusov Exp $
+# $NetBSD: Makefile,v 1.8 2011/12/17 13:46:28 obache Exp $
MODNAME= intl
PECL_VERSION= 1.1.2
PKGREVISION= 2
+PECL_LEGACY_VERSION_SCHEME= yes
CATEGORIES+= textproc
COMMENT= PHP extension for i18n