summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorobache <obache>2011-12-17 13:46:27 +0000
committerobache <obache>2011-12-17 13:46:27 +0000
commit13fb24bcd7fef21ea3288a07e5388711eba31bf0 (patch)
tree0201099d58a10a76fa4a723dc2af453a6d168585 /databases
parente1fb05616cb7fbe9feddf096628c6dabafed7945 (diff)
downloadpkgsrc-13fb24bcd7fef21ea3288a07e5388711eba31bf0.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 'databases')
-rw-r--r--databases/php-dbx/Makefile3
-rw-r--r--databases/php-redis/Makefile3
2 files changed, 4 insertions, 2 deletions
diff --git a/databases/php-dbx/Makefile b/databases/php-dbx/Makefile
index 5d8b4a30f23..4412605aac9 100644
--- a/databases/php-dbx/Makefile
+++ b/databases/php-dbx/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.11 2011/08/20 14:08:12 taca Exp $
+# $NetBSD: Makefile,v 1.12 2011/12/17 13:46:27 obache Exp $
MODNAME= dbx
PECL_VERSION= 1.1.2
+PECL_LEGACY_VERSION_SCHEME= yes
CATEGORIES+= databases
COMMENT= PHP database abstraction layer extension
diff --git a/databases/php-redis/Makefile b/databases/php-redis/Makefile
index 321ed702069..ffd87f3f573 100644
--- a/databases/php-redis/Makefile
+++ b/databases/php-redis/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.2 2011/06/29 03:03:31 taca Exp $
+# $NetBSD: Makefile,v 1.3 2011/12/17 13:46:27 obache Exp $
#
MODNAME= redis
PECL_VERSION= 2.1.3
+PECL_LEGACY_VERSION_SCHEME= yes
PECL_DISTNAME= nicolasff-phpredis-${PECL_VERSION}-0-g43bc590
CATEGORIES= databases
MASTER_SITES= http://download.github.com/