aboutsummaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2010-04-23 16:02:44 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2010-04-23 16:02:44 +0000
commitb205cbeecd7c3a814cdbbbe2ee408b87fbf7a739 (patch)
treefb7c0cac91f7d6901e09295152db015496ec9dee /converters
parentd111d16900ba8617e77a050fb56ea2d7b8a8a356 (diff)
downloadports-b205cbeecd7c3a814cdbbbe2ee408b87fbf7a739.tar.gz
ports-b205cbeecd7c3a814cdbbbe2ee408b87fbf7a739.zip
- PHP 5.2 slave port
PR: 145772 Submitted by: Alex Keda
Notes
Notes: svn path=/head/; revision=253101
Diffstat (limited to 'converters')
-rw-r--r--converters/Makefile1
-rw-r--r--converters/php52-iconv/Makefile14
-rw-r--r--converters/php52-mbstring/Makefile14
-rw-r--r--converters/php52-mbstring/files/patch-config.m410
-rw-r--r--converters/php52-mbstring/files/patch-oniguruma_regerror.c10
5 files changed, 49 insertions, 0 deletions
diff --git a/converters/Makefile b/converters/Makefile
index 39e835f5ef98..103ca5a29160 100644
--- a/converters/Makefile
+++ b/converters/Makefile
@@ -111,6 +111,7 @@
SUBDIR += php5-mbstring
SUBDIR += php5-recode
SUBDIR += php52-iconv
+ SUBDIR += php52-mbstring
SUBDIR += psiconv
SUBDIR += py-bsdconv
SUBDIR += py-cjkcodecs
diff --git a/converters/php52-iconv/Makefile b/converters/php52-iconv/Makefile
new file mode 100644
index 000000000000..3ec86f5d58ce
--- /dev/null
+++ b/converters/php52-iconv/Makefile
@@ -0,0 +1,14 @@
+# New ports collection makefile for: php52-iconv
+# Date created: 17 Apr 2010
+# Whom: Alex Keda <admin@lissyara.su>
+#
+# $FreeBSD$
+#
+
+CATEGORIES= converters
+
+MASTERDIR= ${.CURDIR}/../../lang/php52
+
+PKGNAMESUFFIX= -iconv
+
+.include "${MASTERDIR}/Makefile"
diff --git a/converters/php52-mbstring/Makefile b/converters/php52-mbstring/Makefile
new file mode 100644
index 000000000000..5dfb09658087
--- /dev/null
+++ b/converters/php52-mbstring/Makefile
@@ -0,0 +1,14 @@
+# New ports collection makefile for: php52-mbstring
+# Date created: 17 Apr 2010
+# Whom: Alex Keda <admin@lissyara.su>
+#
+# $FreeBSD$
+#
+
+CATEGORIES= converters
+
+MASTERDIR= ${.CURDIR}/../../lang/php52
+
+PKGNAMESUFFIX= -mbstring
+
+.include "${MASTERDIR}/Makefile"
diff --git a/converters/php52-mbstring/files/patch-config.m4 b/converters/php52-mbstring/files/patch-config.m4
new file mode 100644
index 000000000000..619440601c7a
--- /dev/null
+++ b/converters/php52-mbstring/files/patch-config.m4
@@ -0,0 +1,10 @@
+--- config.m4.orig Fri Sep 8 07:42:50 2006
++++ config.m4 Fri Sep 8 07:43:00 2006
+@@ -66,7 +66,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;
diff --git a/converters/php52-mbstring/files/patch-oniguruma_regerror.c b/converters/php52-mbstring/files/patch-oniguruma_regerror.c
new file mode 100644
index 000000000000..969b57625924
--- /dev/null
+++ b/converters/php52-mbstring/files/patch-oniguruma_regerror.c
@@ -0,0 +1,10 @@
+--- oniguruma/regerror.c.orig Sat Jan 28 09:53:54 2006
++++ oniguruma/regerror.c Sat Jan 28 09:56:58 2006
+@@ -27,6 +27,7 @@
+ * SUCH DAMAGE.
+ */
+
++#include "config.h"
+ #include "regint.h"
+ #include <stdio.h> /* for vsnprintf() */
+