[Midnightbsd-cvs] mports [22495] trunk/Mk/extensions/php.mk: add php 7.1 check

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Jun 18 12:44:33 EDT 2017


Revision: 22495
          http://svnweb.midnightbsd.org/mports/?rev=22495
Author:   laffer1
Date:     2017-06-18 12:44:33 -0400 (Sun, 18 Jun 2017)
Log Message:
-----------
add php 7.1 check

Modified Paths:
--------------
    trunk/Mk/extensions/php.mk

Modified: trunk/Mk/extensions/php.mk
===================================================================
--- trunk/Mk/extensions/php.mk	2017-06-12 13:50:52 UTC (rev 22494)
+++ trunk/Mk/extensions/php.mk	2017-06-18 16:44:33 UTC (rev 22495)
@@ -1,8 +1,6 @@
 #
-# php.mk - Support for PHP-based ports.
+# Support for PHP-based ports.
 #
-# Created by: Alex Dupre <ale at FreeBSD.org>
-#
 # $MidnightBSD$
 #
 # Adding 'USE_PHP=yes' to a port includes this Makefile after bsd.ports.pre.mk.
@@ -264,7 +262,7 @@
 _USE_PHP_VER70=	${_USE_PHP_ALL}
 
 bcmath_DEPENDS=	math/php${PHP_VER}-bcmath
-.if ${PHP_VER} == 70
+.if ${PHP_VER} == 70 || ${PHP_VER} == 71
 bitset_DEPENDS=	math/pecl-bitset
 .else
 bitset_DEPENDS=	math/pecl-bitset2
@@ -288,7 +286,7 @@
 igbinary_DEPENDS=	converters/pecl-igbinary
 imap_DEPENDS=	mail/php${PHP_VER}-imap
 interbase_DEPENDS=	databases/php${PHP_VER}-interbase
-.if ${PHP_VER} == 70
+.if ${PHP_VER} == 70 || ${PHP_VER} == 71
 intl_DEPENDS=	devel/php${PHP_VER}-intl
 .else
 intl_DEPENDS=	devel/pecl-intl



More information about the Midnightbsd-cvs mailing list