pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang php7*: Standardise on major.minor.99 usage in bui...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/074e2223061e
branches:  trunk
changeset: 375185:074e2223061e
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon Feb 05 11:21:56 2018 +0000

description:
php7*: Standardise on major.minor.99 usage in buildlink3.mk

With the introduction of beta and rc releases of php7* into pkgsrc the pattern
matching is often incorrect (for example the current version of php-7.1.0rc6
breaks both <7.1.0 and >=7.1.0).  Using .99 is not ideal but does at least
avoid the confusion developers seem to be having with the pmatch ordering.

diffstat:

 lang/php70/buildlink3.mk |  6 +++---
 lang/php71/buildlink3.mk |  6 +++---
 lang/php72/buildlink3.mk |  6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

diffs (57 lines):

diff -r ee09b5f1cac8 -r 074e2223061e lang/php70/buildlink3.mk
--- a/lang/php70/buildlink3.mk  Mon Feb 05 10:56:47 2018 +0000
+++ b/lang/php70/buildlink3.mk  Mon Feb 05 11:21:56 2018 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.3 2017/09/26 14:02:32 roy Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2018/02/05 11:21:56 jperkin Exp $
 
 BUILDLINK_TREE+=       php
 
 .if !defined(PHP_BUILDLINK3_MK)
 PHP_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.php+=    php>=7.0.0<7.1.0
-BUILDLINK_ABI_DEPENDS.php+=    php>=7.0.0<7.1.0
+BUILDLINK_API_DEPENDS.php+=    php>=7.0.0<7.0.99
+BUILDLINK_ABI_DEPENDS.php+=    php>=7.0.0<7.0.99
 BUILDLINK_PKGSRCDIR.php?=      ../../lang/php70
 
 .include "../../textproc/libxml2/buildlink3.mk"
diff -r ee09b5f1cac8 -r 074e2223061e lang/php71/buildlink3.mk
--- a/lang/php71/buildlink3.mk  Mon Feb 05 10:56:47 2018 +0000
+++ b/lang/php71/buildlink3.mk  Mon Feb 05 11:21:56 2018 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.4 2017/11/26 19:14:34 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2018/02/05 11:21:56 jperkin Exp $
 
 BUILDLINK_TREE+=       php
 
 .if !defined(PHP_BUILDLINK3_MK)
 PHP_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.php+=    php>=7.1.0<7.1.99
-BUILDLINK_ABI_DEPENDS.php+=    php>=7.1.0<7.1.99
+BUILDLINK_API_DEPENDS.php+=    php>=7.0.99<7.1.99
+BUILDLINK_ABI_DEPENDS.php+=    php>=7.0.99<7.1.99
 BUILDLINK_PKGSRCDIR.php?=      ../../lang/php71
 
 .include "../../textproc/libxml2/buildlink3.mk"
diff -r ee09b5f1cac8 -r 074e2223061e lang/php72/buildlink3.mk
--- a/lang/php72/buildlink3.mk  Mon Feb 05 10:56:47 2018 +0000
+++ b/lang/php72/buildlink3.mk  Mon Feb 05 11:21:56 2018 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.2 2018/02/05 08:51:25 jdolecek Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2018/02/05 11:21:56 jperkin Exp $
 
 BUILDLINK_TREE+=       php
 
 .if !defined(PHP_BUILDLINK3_MK)
 PHP_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.php+=    php>=7.2.2nb2<7.3
-BUILDLINK_ABI_DEPENDS.php+=    php>=7.2.2nb2<7.3
+BUILDLINK_API_DEPENDS.php+=    php>=7.1.99<7.2.99
+BUILDLINK_ABI_DEPENDS.php+=    php>=7.1.99<7.2.99
 BUILDLINK_PKGSRCDIR.php?=      ../../lang/php72
 
 .include "../../textproc/libxml2/buildlink3.mk"



Home | Main Index | Thread Index | Old Index