summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2012-05-12 11:27:46 +0000
committerobache <obache@pkgsrc.org>2012-05-12 11:27:46 +0000
commit73f8cd7428c5c14c72d5aa8c20c39cb26092b39e (patch)
tree3b46f750eb38a34e6a9dba02dd02847c1b9aff30
parent1b036df5a540505462efef8425949971d268e413 (diff)
downloadpkgsrc-73f8cd7428c5c14c72d5aa8c20c39cb26092b39e.tar.gz
PKG_PHP_VERSION may be 52 for some situation.
-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}