From owner-svn-ports-all@freebsd.org Tue Jan 24 11:31:32 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1CDE2CBF47B; Tue, 24 Jan 2017 11:31:32 +0000 (UTC) (envelope-from tz@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E0DA3DD1; Tue, 24 Jan 2017 11:31:31 +0000 (UTC) (envelope-from tz@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v0OBVVSn074475; Tue, 24 Jan 2017 11:31:31 GMT (envelope-from tz@FreeBSD.org) Received: (from tz@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v0OBVVfE074474; Tue, 24 Jan 2017 11:31:31 GMT (envelope-from tz@FreeBSD.org) Message-Id: <201701241131.v0OBVVfE074474@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tz set sender to tz@FreeBSD.org using -f From: Torsten Zuehlsdorff Date: Tue, 24 Jan 2017 11:31:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r432321 - head/Mk/Uses X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jan 2017 11:31:32 -0000 Author: tz Date: Tue Jan 24 11:31:30 2017 New Revision: 432321 URL: https://svnweb.freebsd.org/changeset/ports/432321 Log: Add support for PHP 7.1 Reviewed by: ale, pi, martin@waschbuesch.de, franco@opnsense.org Approved by: ale Modified: head/Mk/Uses/php.mk Modified: head/Mk/Uses/php.mk ============================================================================== --- head/Mk/Uses/php.mk Tue Jan 24 10:22:39 2017 (r432320) +++ head/Mk/Uses/php.mk Tue Jan 24 11:31:30 2017 (r432321) @@ -102,7 +102,10 @@ DEFAULT_PHP_VER?= ${PHP_DEFAULT:S/.//} # When adding a version, please keep the comment in # Mk/bsd.default-versions.mk in sync. PHP_VER?= ${DEFAULT_PHP_VER} -. if ${PHP_VER} == 70 +. if ${PHP_VER} == 71 +PHP_EXT_DIR= 20160303 +PHP_EXT_INC= pcre spl +. elif ${PHP_VER} == 70 PHP_EXT_DIR= 20151012 PHP_EXT_INC= pcre spl . elif ${PHP_VER} == 56 @@ -298,9 +301,10 @@ _USE_PHP_ALL= bcmath bitset bz2 calendar # version specific components _USE_PHP_VER56= ${_USE_PHP_ALL} mssql mysql sybase_ct _USE_PHP_VER70= ${_USE_PHP_ALL} +_USE_PHP_VER71= ${_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 @@ -325,7 +329,7 @@ iconv_DEPENDS= converters/php${PHP_VER}- 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