pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/php PKG_PHP_VERSION may be 52 for some situation.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/364a72186598
branches:  trunk
changeset: 603746:364a72186598
user:      obache <obache%pkgsrc.org@localhost>
date:      Sat May 12 11:27:46 2012 +0000

description:
PKG_PHP_VERSION may be 52 for some situation.

diffstat:

 lang/php/ext.mk |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 8fcb55820362 -r 364a72186598 lang/php/ext.mk
--- a/lang/php/ext.mk   Sat May 12 10:12:32 2012 +0000
+++ b/lang/php/ext.mk   Sat May 12 11:27:46 2012 +0000
@@ -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 @@
 # 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}



Home | Main Index | Thread Index | Old Index