aboutsummaryrefslogtreecommitdiff
path: root/textproc/php52-xml
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2010-04-23 22:31:51 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2010-04-23 22:31:51 +0000
commit577816b3d01fd93b527642dcfac2f0f5c352c1f0 (patch)
treecdd590b5d1d2819589f12d2c6e227848708b8c52 /textproc/php52-xml
parent90359a9b204dfac76d20faf9a3d140a5244178c0 (diff)
downloadports-577816b3d01fd93b527642dcfac2f0f5c352c1f0.tar.gz
ports-577816b3d01fd93b527642dcfac2f0f5c352c1f0.zip
- PHP 5.2 slave port
PR: 145772 Submitted by: Alex Keda
Notes
Notes: svn path=/head/; revision=253130
Diffstat (limited to 'textproc/php52-xml')
-rw-r--r--textproc/php52-xml/Makefile14
-rw-r--r--textproc/php52-xml/files/patch-compat.c13
2 files changed, 27 insertions, 0 deletions
diff --git a/textproc/php52-xml/Makefile b/textproc/php52-xml/Makefile
new file mode 100644
index 000000000000..403202ddb275
--- /dev/null
+++ b/textproc/php52-xml/Makefile
@@ -0,0 +1,14 @@
+# New ports collection makefile for: php52-xml
+# Date created: 17 Apr 2010
+# Whom: Alex Keda <admin@lissyara.su>
+#
+# $FreeBSD$
+#
+
+CATEGORIES= textproc
+
+MASTERDIR= ${.CURDIR}/../../lang/php52
+
+PKGNAMESUFFIX= -xml
+
+.include "${MASTERDIR}/Makefile"
diff --git a/textproc/php52-xml/files/patch-compat.c b/textproc/php52-xml/files/patch-compat.c
new file mode 100644
index 000000000000..02125961b20c
--- /dev/null
+++ b/textproc/php52-xml/files/patch-compat.c
@@ -0,0 +1,13 @@
+--- compat.c.orig Tue Jul 20 10:55:02 2004
++++ compat.c Tue Jul 20 10:55:55 2004
+@@ -16,6 +16,10 @@
+ +----------------------------------------------------------------------+
+ */
+
++#ifdef HAVE_CONFIG_H
++#include "config.h"
++#endif
++
+ #include "php.h"
+ #if defined(HAVE_LIBXML) && defined(HAVE_XML) && !defined(HAVE_LIBEXPAT)
+ #include "expat_compat.h"