aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2016-02-15 22:34:26 +0800
committermiwi <miwi@FreeBSD.org>2016-02-15 22:34:26 +0800
commit790e7372b009ecab418d9e694794df6a87b97fce (patch)
tree921070ae859847e6ad2f11168de4014a9c3571e8 /Mk
parentf8b583cc4f758cfd2ed8b667d74bb0fd222e0392 (diff)
downloadfreebsd-ports-gnome-790e7372b009ecab418d9e694794df6a87b97fce.tar.gz
freebsd-ports-gnome-790e7372b009ecab418d9e694794df6a87b97fce.tar.zst
freebsd-ports-gnome-790e7372b009ecab418d9e694794df6a87b97fce.zip
Welcome php 7.0.3
Changelog: http://php.net/ChangeLog-7.php#7.0.0 http://php.net/ChangeLog-7.php#7.0.1 http://php.net/ChangeLog-7.php#7.0.2 http://php.net/ChangeLog-7.php#7.0.3 I'd like to thanks: Kurt Jaeger Matthias Breddin Rainer Duffner Victor van Vlaardingen Torsten Zuehlsdorff Franco Fichtner and all helpers and testers from ports@.
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.php.mk13
1 files changed, 9 insertions, 4 deletions
diff --git a/Mk/bsd.php.mk b/Mk/bsd.php.mk
index e17fdc36e815..177208abd359 100644
--- a/Mk/bsd.php.mk
+++ b/Mk/bsd.php.mk
@@ -56,7 +56,10 @@ PHP_EXT_DIR!= ${PHPBASE}/bin/php-config --extension-dir | ${SED} -ne 's,^${PHPBA
DEFAULT_PHP_VER?= ${PHP_DEFAULT:S/.//}
PHP_VER?= ${DEFAULT_PHP_VER}
-.if ${PHP_VER} == 56
+.if ${PHP_VER} == 70
+PHP_EXT_DIR= 20151012
+PHP_EXT_INC= pcre spl
+.elif ${PHP_VER} == 56
PHP_EXT_DIR= 20131226
PHP_EXT_INC= pcre spl
.elif ${PHP_VER} == 55
@@ -252,6 +255,7 @@ _USE_PHP_ALL= apc bcmath bitset bz2 calendar ctype curl dba dom \
# version specific components
_USE_PHP_VER55= ${_USE_PHP_ALL} phar sqlite3
_USE_PHP_VER56= ${_USE_PHP_ALL} phar sqlite3
+_USE_PHP_VER70= ${_USE_PHP_ALL} phar sqlite3
apc_DEPENDS= www/pecl-APC
bcmath_DEPENDS= math/php${PHP_VER}-bcmath
@@ -275,7 +279,11 @@ iconv_DEPENDS= converters/php${PHP_VER}-iconv
igbinary_DEPENDS= converters/pecl-igbinary
imap_DEPENDS= mail/php${PHP_VER}-imap
interbase_DEPENDS= databases/php${PHP_VER}-interbase
+.if ${PHP_VER} == 70
+intl_DEPENDS= devel/php${PHP_VER}-intl
+.else
intl_DEPENDS= devel/pecl-intl
+.endif
json_DEPENDS= devel/php${PHP_VER}-json
ldap_DEPENDS= net/php${PHP_VER}-ldap
mbstring_DEPENDS= converters/php${PHP_VER}-mbstring
@@ -288,12 +296,9 @@ mysqli_DEPENDS= databases/php${PHP_VER}-mysqli
ncurses_DEPENDS=devel/php${PHP_VER}-ncurses
odbc_DEPENDS= databases/php${PHP_VER}-odbc
oci8_DEPENDS= databases/php${PHP_VER}-oci8
-.if ${PHP_VER} == 55 || ${PHP_VER} == 56
opcache_DEPENDS= www/php${PHP_VER}-opcache
-.endif
openssl_DEPENDS=security/php${PHP_VER}-openssl
pcntl_DEPENDS= devel/php${PHP_VER}-pcntl
-pcre_DEPENDS= devel/php${PHP_VER}-pcre
pdf_DEPENDS= print/pecl-pdflib
pdo_DEPENDS= databases/php${PHP_VER}-pdo
pdo_dblib_DEPENDS= databases/php${PHP_VER}-pdo_dblib