summaryrefslogtreecommitdiff
path: root/lang/php
diff options
context:
space:
mode:
authorobache <obache>2012-05-12 11:27:46 +0000
committerobache <obache>2012-05-12 11:27:46 +0000
commitd748ad983a26967ec5b0dc37a59b72cae446d182 (patch)
tree3b46f750eb38a34e6a9dba02dd02847c1b9aff30 /lang/php
parentca4c98a247beb90d9b18c669f6b27b81ef5c6f73 (diff)
downloadpkgsrc-d748ad983a26967ec5b0dc37a59b72cae446d182.tar.gz
PKG_PHP_VERSION may be 52 for some situation.
Diffstat (limited to 'lang/php')
-rw-r--r--lang/php/ext.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/lang/php/ext.mk b/lang/php/ext.mk
index fdcf24dc166..d1dfe1af46c 100644
--- a/lang/php/ext.mk
+++ b/lang/php/ext.mk
@@ -1,4 +1,4 @@
-# $NetBSD: ext.mk,v 1.26 2012/05/12 08:23:34 obache Exp $
+# $NetBSD: ext.mk,v 1.27 2012/05/12 11:27:46 obache Exp $
#
# PHP extension package framework, for both PECL and bundled PHP extensions.
#
@@ -38,8 +38,9 @@ DISTINFO_FILE= ${.CURDIR}/${PHPPKGSRCDIR}/distinfo
# PECL extension
# WARINING: following fixed version number for 5.2 and 5.3 must not be bumped!
.if defined(PECL_LEGACY_VERSION_SCHEME) && \
- (${PKG_PHP_VERSION} == "5" || ${PKG_PHP_VERSION} == "53")
-. if ${PKG_PHP_VERSION} == "5"
+ (${PKG_PHP_VERSION} == "5" || ${PKG_PHP_VERSION} == "52" \
+ || ${PKG_PHP_VERSION} == "53")
+. if ${PKG_PHP_VERSION} == "5" || ${PKG_PHP_VERSION} == "52"
PKGNAME?= ${PHP_PKG_PREFIX}-${MODNAME}-5.2.17.${PECL_VERSION}
. elif ${PKG_PHP_VERSION} == "53"
PKGNAME?= ${PHP_PKG_PREFIX}-${MODNAME}-5.3.9.${PECL_VERSION}