aboutsummaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2016-02-15 14:34:26 +0000
committerMartin Wilke <miwi@FreeBSD.org>2016-02-15 14:34:26 +0000
commite630e52bb5f688a26b92533f2f2b0e17e3b85f33 (patch)
tree921070ae859847e6ad2f11168de4014a9c3571e8 /converters
parent8b812c1bf4f8270bf585201073f5504abac62e07 (diff)
downloadports-e630e52bb5f688a26b92533f2f2b0e17e3b85f33.tar.gz
ports-e630e52bb5f688a26b92533f2f2b0e17e3b85f33.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@.
Notes
Notes: svn path=/head/; revision=408932
Diffstat (limited to 'converters')
-rw-r--r--converters/Makefile3
-rw-r--r--converters/php70-iconv/Makefile10
-rw-r--r--converters/php70-mbstring/Makefile10
-rw-r--r--converters/php70-mbstring/files/patch-config.m451
-rw-r--r--converters/php70-recode/Makefile10
5 files changed, 84 insertions, 0 deletions
diff --git a/converters/Makefile b/converters/Makefile
index c42ef3b71474..b04dc8b555da 100644
--- a/converters/Makefile
+++ b/converters/Makefile
@@ -140,6 +140,9 @@
SUBDIR += php56-iconv
SUBDIR += php56-mbstring
SUBDIR += php56-recode
+ SUBDIR += php70-iconv
+ SUBDIR += php70-mbstring
+ SUBDIR += php70-recode
SUBDIR += psiconv
SUBDIR += py-bencode
SUBDIR += py-bsdconv
diff --git a/converters/php70-iconv/Makefile b/converters/php70-iconv/Makefile
new file mode 100644
index 000000000000..89058d3eefa4
--- /dev/null
+++ b/converters/php70-iconv/Makefile
@@ -0,0 +1,10 @@
+# Created by: Alex Dupre <ale@FreeBSD.org>
+# $FreeBSD$
+
+CATEGORIES= converters
+
+MASTERDIR= ${.CURDIR}/../../lang/php70
+
+PKGNAMESUFFIX= -iconv
+
+.include "${MASTERDIR}/Makefile"
diff --git a/converters/php70-mbstring/Makefile b/converters/php70-mbstring/Makefile
new file mode 100644
index 000000000000..634120319c67
--- /dev/null
+++ b/converters/php70-mbstring/Makefile
@@ -0,0 +1,10 @@
+# Created by: Alex Dupre <ale@FreeBSD.org>
+# $FreeBSD$
+
+CATEGORIES= converters
+
+MASTERDIR= ${.CURDIR}/../../lang/php70
+
+PKGNAMESUFFIX= -mbstring
+
+.include "${MASTERDIR}/Makefile"
diff --git a/converters/php70-mbstring/files/patch-config.m4 b/converters/php70-mbstring/files/patch-config.m4
new file mode 100644
index 000000000000..026798f26a5a
--- /dev/null
+++ b/converters/php70-mbstring/files/patch-config.m4
@@ -0,0 +1,51 @@
+--- config.m4.orig 2009-11-25 02:30:06.000000000 +0100
++++ config.m4 2010-04-12 09:59:54.000000000 +0200
+@@ -43,6 +43,30 @@
+ PHP_ADD_INCLUDE([$ext_builddir/$dir])
+ done
+
++ dnl This is PECL build, check if bundled PCRE library is used
++ old_CPPFLAGS=$CPPFLAGS
++ CPPFLAGS=$INCLUDES
++ AC_EGREP_CPP(yes,[
++#include <main/php_config.h>
++#if defined(HAVE_BUNDLED_PCRE) && !defined(COMPILE_DL_PCRE)
++yes
++#endif
++ ],[
++ PHP_PCRE_REGEX=yes
++ ],[
++ AC_EGREP_CPP(yes,[
++#include <main/php_config.h>
++#if defined(HAVE_PCRE) && !defined(COMPILE_DL_PCRE)
++yes
++#endif
++ ],[
++ PHP_PCRE_REGEX=pecl
++ PHP_ADD_INCLUDE($PHP_PCRE_DIR/include)
++ ],[
++ PHP_PCRE_REGEX=no
++ ])
++ ])
++
+ if test "$ext_shared" = "no"; then
+ PHP_ADD_SOURCES(PHP_EXT_DIR(mbstring), $PHP_MBSTRING_BASE_SOURCES)
+ out="php_config.h"
+@@ -80,7 +104,6 @@
+ int foo(int x, ...) {
+ va_list va;
+ va_start(va, x);
+- va_arg(va, int);
+ va_arg(va, char *);
+ va_arg(va, double);
+ return 0;
+@@ -347,6 +370,9 @@
+ [ --with-onig[=DIR] MBSTRING: Use external oniguruma. DIR is the oniguruma install prefix.
+ If DIR is not set, the bundled oniguruma will be used], no, no)
+
++PHP_ARG_WITH(pcre-dir, pcre install prefix,
++[ --with-pcre-dir MBSTRING: pcre install prefix], no, no)
++
+ if test "$PHP_MBSTRING" != "no"; then
+ AC_DEFINE([HAVE_MBSTRING],1,[whether to have multibyte string support])
+
diff --git a/converters/php70-recode/Makefile b/converters/php70-recode/Makefile
new file mode 100644
index 000000000000..5534d7173f41
--- /dev/null
+++ b/converters/php70-recode/Makefile
@@ -0,0 +1,10 @@
+# Created by: Alex Dupre <ale@FreeBSD.org>
+# $FreeBSD$
+
+CATEGORIES= converters
+
+MASTERDIR= ${.CURDIR}/../../lang/php70
+
+PKGNAMESUFFIX= -recode
+
+.include "${MASTERDIR}/Makefile"