pkgsrc/lang/php72/buildlink3.mk
jperkin 592403252e 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.
2018-02-05 11:21:56 +00:00

15 lines
377 B
Makefile

# $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.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"
.endif # PHP_BUILDLINK3_MK
BUILDLINK_TREE+= -php